Maaz1 commited on
Commit
9068faa
·
verified ·
1 Parent(s): e3ab549

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -103,7 +103,7 @@ def create_app():
103
  Returns:
104
  gr.Blocks: Configured Gradio application
105
  """
106
- with gr.Blocks(title="Video Translator") as app:
107
  gr.Markdown("# LinguaStream➿")
108
  gr.Markdown("A Multilingual Audio and Video dubbing tool with supported subtitles.")
109
 
@@ -153,7 +153,7 @@ def create_app():
153
  - Embedded subtitles
154
  """)
155
 
156
- return app
157
 
158
  if __name__ == "__main__":
159
  app = create_app()
 
103
  Returns:
104
  gr.Blocks: Configured Gradio application
105
  """
106
+ with gr.Blocks(title="Video Translator") as demo:
107
  gr.Markdown("# LinguaStream➿")
108
  gr.Markdown("A Multilingual Audio and Video dubbing tool with supported subtitles.")
109
 
 
153
  - Embedded subtitles
154
  """)
155
 
156
+ return demo
157
 
158
  if __name__ == "__main__":
159
  app = create_app()