HopeLiang commited on
Commit
5c668f8
·
1 Parent(s): 225367b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -10,10 +10,10 @@ 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.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")