avfranco commited on
Commit
a3ea009
1 Parent(s): 03ddc3f

Update app.py

Browse files

Minor error type="filepath"

Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -32,9 +32,8 @@ with gr.Blocks() as transcriberUI:
32
  Clicar no botao abaixo para selecionar o Audio a ser transcrito!
33
  Ambiente Demo disponivel 24x7. Running on ZeroGPU with openai/whisper-large-v3
34
  """)
35
- inp = gr.File(label="Arquivo de Audio", show_label=True, type="file_path", file_count="single", file_types=["mp3"])
36
  transcribe = gr.Textbox(label="Transcricao", show_label=True, show_copy_button=True)
37
  inp.upload(audio_transcribe, inp, transcribe)
38
 
39
- if __name__ == "__main__":
40
- transcriberUI.launch()
 
32
  Clicar no botao abaixo para selecionar o Audio a ser transcrito!
33
  Ambiente Demo disponivel 24x7. Running on ZeroGPU with openai/whisper-large-v3
34
  """)
35
+ inp = gr.File(label="Arquivo de Audio", show_label=True, type="filepath", file_count="single", file_types=["mp3"])
36
  transcribe = gr.Textbox(label="Transcricao", show_label=True, show_copy_button=True)
37
  inp.upload(audio_transcribe, inp, transcribe)
38
 
39
+ transcriberUI.queue().launch()