Update app.py
Browse files
app.py
CHANGED
|
@@ -36,8 +36,6 @@ def para1(source_sentences):
|
|
| 36 |
#print(final)
|
| 37 |
return new_output
|
| 38 |
|
| 39 |
-
|
| 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)
|