NeuralFalcon commited on
Commit
1b68cf8
·
verified ·
1 Parent(s): 2076f18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -264,9 +264,7 @@ source_lang_list.extend(available_language)
264
  @click.option("--debug", is_flag=True, default=False, help="Enable debug mode.")
265
  @click.option("--share", is_flag=True, default=False, help="Enable sharing of the interface.")
266
  def main(debug, share):
267
- # description = """
268
- # **Note**: For large video files, upload audio instead. FFmpeg video-to-audio conversion may take a long time.
269
- # """
270
  # Define Gradio inputs and outputs
271
  gradio_inputs = [
272
  gr.File(label="Upload Audio or Video File"),
@@ -282,7 +280,7 @@ def main(debug, share):
282
  ]
283
 
284
  # Create Gradio interface
285
- demo = gr.Interface(fn=subtitle_maker, inputs=gradio_inputs, outputs=gradio_outputs, title="Auto Subtitle Generator Using Whisper-Large-V3-Turbo-Ct2")#,description=description)
286
 
287
  # Launch Gradio with command-line options
288
  demo.queue().launch(debug=debug, share=share)
 
264
  @click.option("--debug", is_flag=True, default=False, help="Enable debug mode.")
265
  @click.option("--share", is_flag=True, default=False, help="Enable sharing of the interface.")
266
  def main(debug, share):
267
+ description = """**Note**: Avoid uploading large video files. Instead, upload the audio from the video for faster processing."""
 
 
268
  # Define Gradio inputs and outputs
269
  gradio_inputs = [
270
  gr.File(label="Upload Audio or Video File"),
 
280
  ]
281
 
282
  # Create Gradio interface
283
+ demo = gr.Interface(fn=subtitle_maker, inputs=gradio_inputs, outputs=gradio_outputs, title="Auto Subtitle Generator Using Whisper-Large-V3-Turbo-Ct2",description=description)
284
 
285
  # Launch Gradio with command-line options
286
  demo.queue().launch(debug=debug, share=share)