Bin ZHANG commited on
Commit
8392562
1 Parent(s): e8e594d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def translate(text):
8
  return result[0]["summary_text"]
9
 
10
  iface = gr.Interface(fn=translate,
11
- input = gr.inputs.Textbox(lines=10,placeholder="Enter text to summarize..."),
12
  outputs="text")
13
 
14
  iface.launch()
 
8
  return result[0]["summary_text"]
9
 
10
  iface = gr.Interface(fn=translate,
11
+ inputs = gr.inputs.Textbox(lines=10,placeholder="Enter text to summarize..."),
12
  outputs="text")
13
 
14
  iface.launch()