pschofield2 commited on
Commit
d41207b
·
verified ·
1 Parent(s): b991b95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
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="Enter a stock ticker to get an analysis from the GPT model.")
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()