Update app.py
Browse files
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()
|