Abhaykoul commited on
Commit
09a5c01
1 Parent(s): 37f1f99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,13 +56,13 @@ def main():
56
 
57
  # Outro for the AI to conclude the report
58
  outro = "Powered by Webscout's free news API."
59
-
60
  # Pass the search results to the AI for generating a report
61
  with st.spinner('🔄 Generating report...'):
62
  report = chat_with_ai(prompt, query)
63
 
64
  # Sanitize the report text
65
- sanitized_report = sanitize_text(report + "\n\n" + outro)
66
 
67
  # Create a text area for the output
68
  output_box = st.empty()
 
56
 
57
  # Outro for the AI to conclude the report
58
  outro = "Powered by Webscout's free news API."
59
+ engine = "https://abhaykoul-techscout-news.hf.space/"
60
  # Pass the search results to the AI for generating a report
61
  with st.spinner('🔄 Generating report...'):
62
  report = chat_with_ai(prompt, query)
63
 
64
  # Sanitize the report text
65
+ sanitized_report = sanitize_text(report + "\n\n" + outro + "\n\n" + engine)
66
 
67
  # Create a text area for the output
68
  output_box = st.empty()