prasanacodes commited on
Commit
8f0ef9c
·
verified ·
1 Parent(s): 54cce1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -151,6 +151,7 @@ article = "<p style='text-align: center'><a href='https://huggingface.co/openai/
151
 
152
  # Create the Gradio interface with our custom function
153
  # We define the input as an Audio component and the output as a Textbox
 
154
  app_interface = gr.Interface(
155
  fn=main_run,
156
  inputs=gr.Video(label="Upload Video"),gr.
@@ -160,8 +161,8 @@ app_interface = gr.Interface(
160
  article=article,
161
  allow_flagging="never"
162
  )
163
-
164
- with gr.Blocks(theme=Soft(), title="Audio/Video Translation Toolkit") as ui:
165
  gr.Markdown("# 🚀 Audio/Video Translation Toolkit")
166
  with gr.Tabs():
167
  with gr.Tab("🎬 Translate Video"):
 
151
 
152
  # Create the Gradio interface with our custom function
153
  # We define the input as an Audio component and the output as a Textbox
154
+ '''
155
  app_interface = gr.Interface(
156
  fn=main_run,
157
  inputs=gr.Video(label="Upload Video"),gr.
 
161
  article=article,
162
  allow_flagging="never"
163
  )
164
+ '''
165
+ with gr.Blocks(theme=Soft(), title="Audio/Video Translation Toolkit") as app_interface:
166
  gr.Markdown("# 🚀 Audio/Video Translation Toolkit")
167
  with gr.Tabs():
168
  with gr.Tab("🎬 Translate Video"):