Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def paraphrase_text(input_text):
|
|
11 |
max_return_phrases = 3)
|
12 |
return para_phrases[0][0], para_phrases[1][0] if len(para_phrases) > 1 else '' , para_phrases[2][0] if len(para_phrases) > 2 else ''
|
13 |
|
14 |
-
examples = [["
|
15 |
|
16 |
demo = gr.Interface(fn=paraphrase_text, inputs="text", outputs=["text", "text", "text"], title="Paraphrase", examples=examples)
|
17 |
demo.launch( debug = True )
|
|
|
11 |
max_return_phrases = 3)
|
12 |
return para_phrases[0][0], para_phrases[1][0] if len(para_phrases) > 1 else '' , para_phrases[2][0] if len(para_phrases) > 2 else ''
|
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", outputs=["text", "text", "text"], title="Paraphrase", examples=examples)
|
17 |
demo.launch( debug = True )
|