Achitha commited on
Commit
3b2df9a
·
1 Parent(s): af6d502

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -70,7 +70,7 @@ mf_transcribe = gr.Interface(
70
  title="Whisper Small Tamil Demo: Translate Audio",
71
  description=(
72
  "Translate long-form microphone or audio inputs with the click of a button! Demo uses the the fine-tuned"
73
- f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe audio files"
74
  " of arbitrary length."
75
  ),
76
  allow_flagging="never",
@@ -85,7 +85,7 @@ yt_transcribe = gr.Interface(
85
  title="Whisper Small Tamil Demo: translate YouTube",
86
  description=(
87
  "Translate long-form YouTube videos with the click of a button! Demo uses the the fine-tuned checkpoint:"
88
- f" [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe audio files of"
89
  " arbitrary length."
90
  ),
91
  allow_flagging="never",
@@ -94,4 +94,4 @@ yt_transcribe = gr.Interface(
94
  with demo:
95
  gr.TabbedInterface([mf_transcribe, yt_transcribe], ["translate Audio", "translate YouTube"])
96
 
97
- demo.launch(enable_queue=True)
 
70
  title="Whisper Small Tamil Demo: Translate Audio",
71
  description=(
72
  "Translate long-form microphone or audio inputs with the click of a button! Demo uses the the fine-tuned"
73
+ f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to translate audio files"
74
  " of arbitrary length."
75
  ),
76
  allow_flagging="never",
 
85
  title="Whisper Small Tamil Demo: translate YouTube",
86
  description=(
87
  "Translate long-form YouTube videos with the click of a button! Demo uses the the fine-tuned checkpoint:"
88
+ f" [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to translate audio files of"
89
  " arbitrary length."
90
  ),
91
  allow_flagging="never",
 
94
  with demo:
95
  gr.TabbedInterface([mf_transcribe, yt_transcribe], ["translate Audio", "translate YouTube"])
96
 
97
+ demo.launch(share=True)