WilliamGazeley commited on
Commit
56aa15a
·
1 Parent(s): 954e857

Replace deprecated cache

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import streamlit as st
4
  from vllm import LLM, SamplingParams
5
 
6
 
7
- @st.cache(show_spinner=False)
8
  def get_system_message():
9
  return """#Context:
10
  You are an AI-based automated expert financial advisor named IRAI. You have a comprehensive understanding of finance and investing because you have trained on a extensive dataset based on of financial news, analyst reports, books, company filings, earnings call transcripts, and finance websites.
 
4
  from vllm import LLM, SamplingParams
5
 
6
 
7
+ @st.cache_data(show_spinner=False)
8
  def get_system_message():
9
  return """#Context:
10
  You are an AI-based automated expert financial advisor named IRAI. You have a comprehensive understanding of finance and investing because you have trained on a extensive dataset based on of financial news, analyst reports, books, company filings, earnings call transcripts, and finance websites.