awacke1 commited on
Commit
0a5fc1f
1 Parent(s): afeff3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -429,7 +429,10 @@ def main():
429
  example_input = st.text_input("Enter your example text:", value=prompt)
430
 
431
  if st.button("Run Prompt With Dr Llama"):
432
- StreamLLMChatResponse(example_input)
 
 
 
433
 
434
  # clip ---
435
 
 
429
  example_input = st.text_input("Enter your example text:", value=prompt)
430
 
431
  if st.button("Run Prompt With Dr Llama"):
432
+ try:
433
+ StreamLLMChatResponse(example_input)
434
+ except:
435
+ st.write('Dr. Llama is asleep. Starting up now on A10 - please give 5 minutes then retry as KEDA scales up from zero to activate running container(s).')
436
 
437
  # clip ---
438