Shreyas094 commited on
Commit
e5fa24f
·
verified ·
1 Parent(s): d8f14ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -778,4 +778,5 @@ iface = gr.ChatInterface(
778
 
779
  if __name__ == "__main__":
780
  logger.info("Starting the SearXNG Scraper for Financial News using ChatInterface with Advanced Parameters")
781
- iface.launch(share=True)
 
 
778
 
779
  if __name__ == "__main__":
780
  logger.info("Starting the SearXNG Scraper for Financial News using ChatInterface with Advanced Parameters")
781
+ # Add this line to explicitly set the API name
782
+ iface.launch(share=True, api_name="/predict")