Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -144,11 +144,38 @@ def market_analysis_agent(user_input, history=[]):
|
|
| 144 |
|
| 145 |
# Add some professional and engaging replies for the user
|
| 146 |
cool_replies = [
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
formatted_response += f"\n{cool_replies[hash(user_input) % len(cool_replies)]}"
|
| 153 |
|
| 154 |
# Add to chat history
|
|
@@ -166,10 +193,12 @@ chat_interface = gr.Interface(
|
|
| 166 |
live=False, # Disable live responses; show after submit
|
| 167 |
title="Private Market AI Agent", # Title of the app
|
| 168 |
description=(
|
| 169 |
-
"Welcome to your professional Private Market Analyst AI! 📊\n\n"
|
| 170 |
"Ask me anything about market trends, company profiles, financial analysis, investors, and more! "
|
| 171 |
-
"I’ll provide you with concise insights that are informative and to the point, helping you make well-informed decisions. "
|
| 172 |
-
"Let's break down market complexities with clarity. 🔍"
|
|
|
|
|
|
|
| 173 |
)
|
| 174 |
)
|
| 175 |
|
|
|
|
| 144 |
|
| 145 |
# Add some professional and engaging replies for the user
|
| 146 |
cool_replies = [
|
| 147 |
+
"Insightful observation. Let’s keep the momentum going. 📊",
|
| 148 |
+
"Good question! Let’s extract deeper business insights. 📈",
|
| 149 |
+
"You're on the right track — let’s refine the strategy further. 🔍",
|
| 150 |
+
"Great focus. Let’s explore actionable opportunities. 💼",
|
| 151 |
+
"Valuable input. Let’s build on this insight together. 🚀",
|
| 152 |
+
"You're making smart moves. Let’s keep adding value. 💡",
|
| 153 |
+
"Curiosity drives innovation — let’s keep pushing boundaries. 🔎",
|
| 154 |
+
"Strategic thinking in action! Let’s continue refining. 🎯",
|
| 155 |
+
"I see you're aiming for precision — let’s achieve clarity together. ⚙️",
|
| 156 |
+
"Sharp question! Let’s identify the key drivers. 🔑",
|
| 157 |
+
"You're thinking ahead. Let’s stay future-focused. 📅",
|
| 158 |
+
"Business insights are coming together — let’s maximize value. 📚",
|
| 159 |
+
"Making data-driven decisions? You’re spot on. 📊",
|
| 160 |
+
"I like your approach. Let’s keep this analytical momentum. 🧠",
|
| 161 |
+
"Big ideas require sharper analysis. Let’s keep refining. ✨",
|
| 162 |
+
"You’re asking the right questions — let’s uncover the next steps. 🚦",
|
| 163 |
+
"The numbers don’t lie — let’s make them work for us. 💸",
|
| 164 |
+
"Smart query! Let’s turn it into actionable intelligence. 🔎",
|
| 165 |
+
"Excellent business acumen. Let’s push further. 📈",
|
| 166 |
+
"Your focus is commendable — let’s identify new opportunities. 💻",
|
| 167 |
+
"Looks like you're identifying hidden value — let’s explore. 💎",
|
| 168 |
+
"Another smart step toward actionable insights. Let’s keep moving. 🚀",
|
| 169 |
+
"Strategic moves require sharp insights. Let’s build on this. 🛠️",
|
| 170 |
+
"You’re driving a data-driven approach. Let’s keep up the pace. 📊",
|
| 171 |
+
"Excellent thought process — let’s continue to optimize. 💼",
|
| 172 |
+
"Financial insights require precision — let’s dive deeper. 💰",
|
| 173 |
+
"Impressive thinking. Let’s sharpen the competitive advantage. ⚔️",
|
| 174 |
+
"Every number tells a story — let’s ensure it works in your favor. 🖋️",
|
| 175 |
+
"This shows strong foresight. Let’s unlock the next opportunity. 🔐",
|
| 176 |
+
"Taking this step reflects your analytical mindset. Let’s continue. 📚",
|
| 177 |
+
"Looks like a winning strategy. Let’s make it even stronger. 🏆"
|
| 178 |
+
]
|
| 179 |
formatted_response += f"\n{cool_replies[hash(user_input) % len(cool_replies)]}"
|
| 180 |
|
| 181 |
# Add to chat history
|
|
|
|
| 193 |
live=False, # Disable live responses; show after submit
|
| 194 |
title="Private Market AI Agent", # Title of the app
|
| 195 |
description=(
|
| 196 |
+
"Welcome to your professional Private Market Analyst AI Agent by Satyam! 📊\n\n"
|
| 197 |
"Ask me anything about market trends, company profiles, financial analysis, investors, and more! "
|
| 198 |
+
"I’ll provide you with concise insights that are informative and to the point, helping you make well-informed decisions. /n/n"
|
| 199 |
+
"Let's break down market complexities with clarity. 🔍/n/n"
|
| 200 |
+
"We Transform Data into Deal"
|
| 201 |
+
|
| 202 |
)
|
| 203 |
)
|
| 204 |
|