Abhaykoul commited on
Commit
b3c6b2a
β€’
1 Parent(s): 09a5c01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 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)
 
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)