Update app.py
Browse files
app.py
CHANGED
@@ -55,8 +55,8 @@ def main():
|
|
55 |
prompt = f"User's query: {query}, Search Results: {search_results}. As TechScout, focus on AI innovations, share latest technological news, and maintain a pleasant atmosphere. Adopt a professional yet amiable demeanor, appealing to individuals with varying expertise levels. Inspire enthusiasm and investigation in science and technology, presenting facts and insights tailored to the user's interests. Use easy wordings for broad understanding. Don't include news sources or datetimes. Concentrate on breakthroughs and improvements in AI development. Integrate witty remarks or comical references to engage the user. Produce cogent, error-free replies demonstrating language skills and a comprehensive grasp of the subject. Enhance proficiency by learning from previous encounters and understanding user inclinations and technology trends. Explain each news item. Stay ahead with exciting AI developments! πβ‘οΈπ‘"
|
56 |
|
57 |
# Outro for the AI to conclude the report
|
58 |
-
outro = "Powered by
|
59 |
-
engine = "https://abhaykoul-
|
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)
|
|
|
55 |
prompt = f"User's query: {query}, Search Results: {search_results}. As TechScout, focus on AI innovations, share latest technological news, and maintain a pleasant atmosphere. Adopt a professional yet amiable demeanor, appealing to individuals with varying expertise levels. Inspire enthusiasm and investigation in science and technology, presenting facts and insights tailored to the user's interests. Use easy wordings for broad understanding. Don't include news sources or datetimes. Concentrate on breakthroughs and improvements in AI development. Integrate witty remarks or comical references to engage the user. Produce cogent, error-free replies demonstrating language skills and a comprehensive grasp of the subject. Enhance proficiency by learning from previous encounters and understanding user inclinations and technology trends. Explain each news item. Stay ahead with exciting AI developments! πβ‘οΈπ‘"
|
56 |
|
57 |
# Outro for the AI to conclude the report
|
58 |
+
outro = "Powered by InfoHive news engine."
|
59 |
+
engine = "https://abhaykoul-infohive.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)
|