Castilloa007 commited on
Commit
169e216
·
verified ·
1 Parent(s): 4a74ab8

Update app.py; fixed iface inputs

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,9 +11,9 @@ def translate(text):
11
  return result[0]["summary_text"]
12
 
13
  iface = gr.Interface(
14
- fn = translate,
15
- inputs = gr.inputs.Textbox(lines=10, placeholder="Enter text to summarize..."),
16
- outputs = "text"
17
  )
18
 
19
  iface.launch()
 
11
  return result[0]["summary_text"]
12
 
13
  iface = gr.Interface(
14
+ fn=translate,
15
+ inputs=gr.Textbox(lines=10, placeholder="Enter text to summarize..."),
16
+ outputs="text"
17
  )
18
 
19
  iface.launch()