king007 commited on
Commit
4ff80d9
·
1 Parent(s): 6829598

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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="Type your sentence here", lines=5)
30
- output_textbox = gr.Textbox(label="Paraphrases", lines=10)
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
- "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()
 
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()