jaimin commited on
Commit
b7bd214
·
1 Parent(s): 1e55422

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -36,8 +36,6 @@ def para1(source_sentences):
36
  #print(final)
37
  return new_output
38
 
39
- input_2 = gr.inputs.Textbox(placeholder='Enter your text here...', label='Input')
40
-
41
- iface = gr.Interface(input_2, "text", theme='huggingface')
42
  if __name__ == "__main__":
43
  iface.launch(debug=True)
 
36
  #print(final)
37
  return new_output
38
 
39
+ iface = gr.Interface(fn=para1, inputs=[gr.inputs.Textbox(lines=5)], outputs="text")
 
 
40
  if __name__ == "__main__":
41
  iface.launch(debug=True)