HopeLiang commited on
Commit
27a9539
·
1 Parent(s): 5c668f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -10,10 +10,8 @@ def transcribe(audio):
10
  return text, generated_text
11
 
12
  with gr.Blocks() as demo:
13
- gr.Interface(
14
- title="Whisper Small Swedish + Swedish GPT",
15
- description="Realtime demo for Swedish speech recognition using a fine-tuned Whisper small model & text generation with Swedish GPT.",
16
- )
17
  with gr.TabItem("Upload from disk"):
18
  upload_file = gr.Audio(source="upload", type="filepath",label="Upload from disk")
19
  upload_button = gr.Button("Submit for recognition")
 
10
  return text, generated_text
11
 
12
  with gr.Blocks() as demo:
13
+ gr.Markdown("#Whisper Small Swedish + Swedish GPT")
14
+ gr.Markdown("Realtime demo for Swedish speech recognition using a fine-tuned Whisper small model & text generation with Swedish GPT.")
 
 
15
  with gr.TabItem("Upload from disk"):
16
  upload_file = gr.Audio(source="upload", type="filepath",label="Upload from disk")
17
  upload_button = gr.Button("Submit for recognition")