vineelpratap commited on
Commit
ed7e000
1 Parent(s): b6df282

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -5,8 +5,6 @@ from tts import synthesize, TTS_EXAMPLES, TTS_LANGUAGES
5
  from lid import identify, LID_EXAMPLES
6
 
7
 
8
- demo = gr.Blocks()
9
-
10
 
11
  mms_transcribe = gr.Interface(
12
  fn=transcribe,
@@ -92,5 +90,6 @@ with gr.Blocks() as demo:
92
  """
93
  )
94
 
95
- demo.queue()
96
- demo.launch()
 
 
5
  from lid import identify, LID_EXAMPLES
6
 
7
 
 
 
8
 
9
  mms_transcribe = gr.Interface(
10
  fn=transcribe,
 
90
  """
91
  )
92
 
93
+ if __name__ == "__main__":
94
+ demo.queue()
95
+ demo.launch()