rashmikamath01 commited on
Commit
8d04d24
·
1 Parent(s): c8e8ff6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ def translate(text):
9
 
10
  iface = gr.Interface(
11
  fn=translate,
12
- input_text = gr.input.Textbox(lines=10, placeholder = "Enter text to summarize ... "),
13
- outputs = "text"
14
  )
15
 
16
  iface.launch()
 
9
 
10
  iface = gr.Interface(
11
  fn=translate,
12
+ inputs = gr.inputs.Textbox(lines=10, placeholder = "Enter text to summarize ... "),
13
+ outputs = "text",
14
  )
15
 
16
  iface.launch()