Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,8 +26,8 @@ def generate_paraphases(phrase):
|
|
26 |
return "\n".join(["- " + item[0] for item in para_phrases])
|
27 |
|
28 |
|
29 |
-
input_textbox = gr.Textbox(label="
|
30 |
-
output_textbox = gr.Textbox(label="
|
31 |
|
32 |
demo = gr.Interface(theme="huggingface",
|
33 |
description="description",
|
@@ -35,10 +35,10 @@ demo = gr.Interface(theme="huggingface",
|
|
35 |
fn=generate_paraphases,
|
36 |
inputs=input_textbox,
|
37 |
outputs=output_textbox,
|
38 |
-
examples=[
|
39 |
-
|
40 |
-
|
41 |
-
],
|
42 |
)
|
43 |
|
44 |
demo.launch()
|
|
|
26 |
return "\n".join(["- " + item[0] for item in para_phrases])
|
27 |
|
28 |
|
29 |
+
input_textbox = gr.Textbox(label="", lines=5)
|
30 |
+
output_textbox = gr.Textbox(label="", lines=10)
|
31 |
|
32 |
demo = gr.Interface(theme="huggingface",
|
33 |
description="description",
|
|
|
35 |
fn=generate_paraphases,
|
36 |
inputs=input_textbox,
|
37 |
outputs=output_textbox,
|
38 |
+
# examples=[
|
39 |
+
# "Can you recommed some upscale restaurants in Newyork?",
|
40 |
+
# "What are the famous places we should not miss in Russia?",
|
41 |
+
# ],
|
42 |
)
|
43 |
|
44 |
demo.launch()
|