Lenylvt commited on
Commit
faab2de
·
verified ·
1 Parent(s): 37b15c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def translate_srt(file, target_language):
29
  # Gradio interface
30
  iface = gr.Interface(
31
  fn=translate_srt,
32
- inputs=[gr.inputs.File(label="Upload SRT File"), gr.inputs.Dropdown(["fr", "en", "es", "de", "it", "pt"], label="Target Language")],
33
  outputs="text",
34
  title="SRT File Translator",
35
  description="Translate SRT files to the selected language using Mixtral model."
 
29
  # Gradio interface
30
  iface = gr.Interface(
31
  fn=translate_srt,
32
+ inputs=[gr.File(label="Upload SRT File"), gr.Dropdown(["fr", "en", "es", "de", "it", "pt"], label="Target Language")],
33
  outputs="text",
34
  title="SRT File Translator",
35
  description="Translate SRT files to the selected language using Mixtral model."