flatindo commited on
Commit
e77cee6
·
1 Parent(s): 624a82f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,9 +22,9 @@ def generate_chatbot_response(prompt):
22
 
23
  # Function to handle the web app logic
24
  def web_app(prompt, website_link):
25
- scraped_info = scrape_website(prompt, website_link)
26
  chatbot_response = generate_chatbot_response(prompt)
27
- return {"Scraped Information": scraped_info, "Chatbot Response": chatbot_response}
28
 
29
  # Create the Gradio interface
30
  iface = gradio.Interface(
 
22
 
23
  # Function to handle the web app logic
24
  def web_app(prompt, website_link):
25
+ #scraped_info = scrape_website(prompt, website_link)
26
  chatbot_response = generate_chatbot_response(prompt)
27
+ return {"Chatbot Response": chatbot_response}
28
 
29
  # Create the Gradio interface
30
  iface = gradio.Interface(