Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,5 +13,5 @@ def paraphrase_text(input_text):
|
|
| 13 |
|
| 14 |
examples = [["Uploading a video to YouTube can help exposure for your business.", "45"], ["Niagara Falls is viewed by thousands of tourists every year.", "30"]]
|
| 15 |
|
| 16 |
-
demo = gr.Interface(fn=paraphrase_text, inputs="text",
|
| 17 |
demo.launch( debug = True )
|
|
|
|
| 13 |
|
| 14 |
examples = [["Uploading a video to YouTube can help exposure for your business.", "45"], ["Niagara Falls is viewed by thousands of tourists every year.", "30"]]
|
| 15 |
|
| 16 |
+
demo = gr.Interface(fn=paraphrase_text, inputs=gr.Textbox(lines=3, placeholder="Enter sample text here", label="Original text"), outputs=[gr.Textbox(label="Paraphrasing 1"), gr.Textbox(label="Paraphrasing 2"), gr.Textbox(label="Paraphrasing 3")], examples=examples)
|
| 17 |
demo.launch( debug = True )
|