Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -210,9 +210,18 @@ def analyze_stock(ticker: str) -> str:
|
|
| 210 |
analysis = run_gpt_model(prompt, openai_api_key)
|
| 211 |
return analysis
|
| 212 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 213 |
# Gradio Interface
|
| 214 |
iface = gr.Interface(fn=analyze_stock, inputs="text", outputs="text", title="Stock Analysis GPT Model",
|
| 215 |
-
description=
|
| 216 |
|
| 217 |
if __name__ == "__main__":
|
| 218 |
iface.launch()
|
|
|
|
| 210 |
analysis = run_gpt_model(prompt, openai_api_key)
|
| 211 |
return analysis
|
| 212 |
|
| 213 |
+
description = """We gave Ann-E a name, but not a personality. It's time to change that!
|
| 214 |
+
|
| 215 |
+
Get a stock analysis from Ann-E to go along with the prediction.
|
| 216 |
+
Currently, the analysis is based on company profile information, the most recent balance sheet and income statement metrics, and current TradeSmith proprietary indicators.
|
| 217 |
+
We are working on adding recent news for the model to consider.
|
| 218 |
+
|
| 219 |
+
This demonstration shows just a simple use case for building out a proprietary Alta Large Language Model (LLM). The possibilities are endless!"""
|
| 220 |
+
|
| 221 |
+
|
| 222 |
# Gradio Interface
|
| 223 |
iface = gr.Interface(fn=analyze_stock, inputs="text", outputs="text", title="Stock Analysis GPT Model",
|
| 224 |
+
description=description)
|
| 225 |
|
| 226 |
if __name__ == "__main__":
|
| 227 |
iface.launch()
|