Spaces:
Sleeping
Sleeping
WilliamGazeley
commited on
Commit
·
ad4ac8c
1
Parent(s):
017040e
Add model loading spinner
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ The questions will be asked by top technology executives and CFO of large fintec
|
|
14 |
#Response:
|
15 |
Answer, concise yet insightful."""
|
16 |
|
17 |
-
@st.cache_resource(show_spinner=
|
18 |
def init_llm():
|
19 |
huggingface_hub.login(token=os.getenv("HF_TOKEN"))
|
20 |
llm = LLM(model="InvestmentResearchAI/LLM-ADE-dev")
|
|
|
14 |
#Response:
|
15 |
Answer, concise yet insightful."""
|
16 |
|
17 |
+
@st.cache_resource(show_spinner="Loading model..")
|
18 |
def init_llm():
|
19 |
huggingface_hub.login(token=os.getenv("HF_TOKEN"))
|
20 |
llm = LLM(model="InvestmentResearchAI/LLM-ADE-dev")
|