athottam commited on
Commit
e49c9e8
·
verified ·
1 Parent(s): a7b1b97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -12
app.py CHANGED
@@ -282,17 +282,7 @@ def agent_LA():
282
 
283
 
284
  def greet(query):
285
- bm25 = agent_LA(query)
286
- return bm25
287
 
288
- # Use the gradio library to display a user interface for your user to interact with.
289
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
290
-
291
- # Launch the user demo - This can be done directly in your colab notebook. On your local notebook, you can also give a personalized localhost:port address.
292
- demo.launch(share=True,debug=True, show_error=True)
293
-
294
- def greet(query):
295
- return agent_LA(query)
296
-
297
- demo = gr.Interface(fn=greet, inputs="text", outputs="text", title="Hotel Recommendation Assistant")
298
  demo.launch(share=True)
 
282
 
283
 
284
  def greet(query):
285
+ return agent_LA()
 
286
 
287
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text", title="Log Analyzer agent")
 
 
 
 
 
 
 
 
 
288
  demo.launch(share=True)