tomaseo2022 commited on
Commit
37f4d75
·
1 Parent(s): 78d4260

Rename app (2).py to app.py

Browse files
Files changed (1) hide show
  1. app (2).py → app.py +4 -4
app (2).py → app.py RENAMED
@@ -11,16 +11,16 @@ def speech_to_text(tmp_filename, uploaded, model_size):
11
 
12
  gr.Interface(
13
 
14
- title="Whisper by OpenAI",
15
- thumbnail="https://cdn.openai.com/whisper/asr-summary-of-model-architecture-desktop.svg",
16
  css="""
 
17
  .gr-prose p{text-align: center;}
18
  .gr-button {background: black;color: white}
19
  """,
20
- description="Whisper is an automatic speech recognition (ASR) system trained on 680,000 hours of multilingual and multitask supervised data collected from the web.",
21
  fn=speech_to_text,
22
  inputs=[
23
- gr.Audio(label="Record your voice on your mic",source="microphone", type="filepath"),
24
  gr.Audio(source="upload", type="filepath", label="Upload Audio"),
25
  gr.Dropdown(label="Select model size",value="base",choices=["tiny", "base", "small", "medium", "large"])],
26
  outputs="text").launch()
 
11
 
12
  gr.Interface(
13
 
14
+ title="",
15
+ thumbnail="",
16
  css="""
17
+ footer {visibility: hidden}
18
  .gr-prose p{text-align: center;}
19
  .gr-button {background: black;color: white}
20
  """,
21
+ description="",
22
  fn=speech_to_text,
23
  inputs=[
 
24
  gr.Audio(source="upload", type="filepath", label="Upload Audio"),
25
  gr.Dropdown(label="Select model size",value="base",choices=["tiny", "base", "small", "medium", "large"])],
26
  outputs="text").launch()