nikolltt commited on
Commit
b9b0194
·
verified ·
1 Parent(s): 85c12e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -12
app.py CHANGED
@@ -34,18 +34,7 @@ demo = gr.Interface(
34
  )
35
 
36
  if __name__ == "__main__":
37
- demo.launch()
38
- demo = gr.Interface(
39
- fn=get_top3,
40
- inputs=gr.Textbox(lines=2, placeholder="Type something..."),
41
- outputs="text",
42
- title="Quote Finder (1,000+ quotes)",
43
- description="Enter any sentence to find 3 semantically similar quotes.",
44
- examples=[
45
- ["happiness"],
46
- ["overcoming failure"],
47
- ["friendship"]
48
- ]demo = gr.Interface(
49
  fn=get_top3,
50
  inputs=gr.Textbox(lines=2, placeholder="Type something..."),
51
  outputs="text",
 
34
  )
35
 
36
  if __name__ == "__main__":
37
+ demo = gr.Interface(
 
 
 
 
 
 
 
 
 
 
 
38
  fn=get_top3,
39
  inputs=gr.Textbox(lines=2, placeholder="Type something..."),
40
  outputs="text",