Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -167,16 +167,20 @@ demo = gr.ChatInterface(
|
|
167 |
),
|
168 |
additional_inputs=[
|
169 |
gr.Textbox(
|
170 |
-
"I am a
|
171 |
label="About Me",
|
172 |
)
|
173 |
],
|
174 |
-
title="Friendly Financial Bot 🤑",
|
175 |
description="Ask me any financial or crypto market questions, and I will do my best to provide useful insight. My advice is based on current \
|
176 |
finance news, stored as embeddings in a Qdrant vector db. I run on a 4bit quantized Mistral-7B-Instruct-v0.2 model with a QLoRa \
|
177 |
adapter fine-tuned for providing financial guidance. Some sample questions and additional background scenarios are below.",
|
178 |
theme="soft",
|
179 |
examples=[
|
|
|
|
|
|
|
|
|
180 |
[
|
181 |
"What's your opinion on investing in AI-related companies?",
|
182 |
"I'm a 25 year old entrepreneur interested in emerging technologies. \
|
@@ -184,11 +188,7 @@ demo = gr.ChatInterface(
|
|
184 |
],
|
185 |
[
|
186 |
"What's your opinion on investing in the Chinese stock market?",
|
187 |
-
"I am a
|
188 |
-
],
|
189 |
-
[
|
190 |
-
"Do you think advancements in gene therapy are impacting biotech company valuations?",
|
191 |
-
"I'm a 31 year old scientist. I'm curious about the potential of biotech investments.",
|
192 |
],
|
193 |
],
|
194 |
cache_examples=False,
|
|
|
167 |
),
|
168 |
additional_inputs=[
|
169 |
gr.Textbox(
|
170 |
+
"I am a 30 year old graphic designer. I want to invest in something with potential for high returns.",
|
171 |
label="About Me",
|
172 |
)
|
173 |
],
|
174 |
+
title="🤑 Friendly Financial Bot 🤑",
|
175 |
description="Ask me any financial or crypto market questions, and I will do my best to provide useful insight. My advice is based on current \
|
176 |
finance news, stored as embeddings in a Qdrant vector db. I run on a 4bit quantized Mistral-7B-Instruct-v0.2 model with a QLoRa \
|
177 |
adapter fine-tuned for providing financial guidance. Some sample questions and additional background scenarios are below.",
|
178 |
theme="soft",
|
179 |
examples=[
|
180 |
+
[
|
181 |
+
"Do you think investing in Boeing is a good idea right now?",
|
182 |
+
"I'm a 31 year old pilot. I'm curious about the potential of investing in certain airlines.",
|
183 |
+
],
|
184 |
[
|
185 |
"What's your opinion on investing in AI-related companies?",
|
186 |
"I'm a 25 year old entrepreneur interested in emerging technologies. \
|
|
|
188 |
],
|
189 |
[
|
190 |
"What's your opinion on investing in the Chinese stock market?",
|
191 |
+
"I am a risk-averse 40-year old and would like to avoid risky investments.",
|
|
|
|
|
|
|
|
|
192 |
],
|
193 |
],
|
194 |
cache_examples=False,
|