avfranco commited on
Commit
5777262
1 Parent(s): 29bffbf

minor change launch()

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -58,4 +58,5 @@ with gr.Blocks() as transcriberUI:
58
  transcribe = gr.Textbox(label="Transcricao", show_label=True, show_copy_button=True)
59
  inp.upload(asr_transcriber, inp, transcribe)
60
 
61
- transcriberUI.launch()
 
 
58
  transcribe = gr.Textbox(label="Transcricao", show_label=True, show_copy_button=True)
59
  inp.upload(asr_transcriber, inp, transcribe)
60
 
61
+ if __name__ == "__main__":
62
+ transcriberUI.launch()