mohammad2928git commited on
Commit
a937287
·
verified ·
1 Parent(s): 9cc1d9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,5 +6,5 @@ def translate(input_text, language):
6
  return translated
7
 
8
  options_1 = ['en', 'de', 'fr']
9
- demo = gr.Interface(fn=translate, inputs=["text", gr.inputs.Dropdown(options=options_1),], outputs="text")
10
  demo.launch(debug=True)
 
6
  return translated
7
 
8
  options_1 = ['en', 'de', 'fr']
9
+ demo = gr.Interface(fn=translate, inputs=["text", gr.Dropdown(options_1),], outputs="text")
10
  demo.launch(debug=True)