Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
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 |
|