Skip to content

Commit

Permalink
Connection Error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
GLambard committed Mar 3, 2023
1 parent e561252 commit caa8c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MDxApp/01_🏥_Diagnosis_Assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def openai_create(prompt):
st.write('')
st.write(st.session_state.diagnostic.replace("<|im_end|>", ""), unsafe_allow_html=True)
except Exception as e:
st.write(e)
#st.write(e)
st.write("<p style=\"font-weight: bold; font-size:18px;\">The server does not respond or is overloaded with requests... Try again.</p>",
unsafe_allow_html=True)
else:
Expand Down

0 comments on commit caa8c07

Please sign in to comment.