hatim00101 commited on
Commit
87ae23a
1 Parent(s): 534d50c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -95,15 +95,15 @@ def gradio_interface(query, feedback):
95
  interface = gr.Interface(
96
  fn=gradio_interface,
97
  inputs=[
98
- gr.Textbox(lines=2, placeholder="Enter your query here..."),
99
- gr.Dropdown(choices=["positive", "negative"], label="Feedback"),
100
  ],
101
  outputs=[
102
  gr.Textbox(lines=20, placeholder="The search results will be displayed here..."),
103
  gr.Textbox(lines=20, placeholder="The detailed answer will be displayed here...")
104
  ],
105
- title="Advanced RAG Search Engine",
106
- description="Test the advanced RAG search engine with hybrid search."
107
  )
108
 
109
- interface.launch()
 
95
  interface = gr.Interface(
96
  fn=gradio_interface,
97
  inputs=[
98
+ gr.Textbox(lines=2, placeholder="Enter your query here...")
99
+ # gr.Dropdown(choices=["positive", "negative"], label="Feedback"),
100
  ],
101
  outputs=[
102
  gr.Textbox(lines=20, placeholder="The search results will be displayed here..."),
103
  gr.Textbox(lines=20, placeholder="The detailed answer will be displayed here...")
104
  ],
105
+ title="News share engine",
106
+ description="."
107
  )
108
 
109
+ interface.launch(share=True)