Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -111,8 +111,8 @@ if __name__ == '__main__':
|
|
111 |
print(run_kwargs)
|
112 |
try:
|
113 |
run_survey(**run_kwargs)
|
114 |
-
except:
|
115 |
-
st.write('server might be crowded right now, please try later, thank you for your patience)
|
116 |
pass
|
117 |
else:
|
118 |
st.write(f'{st.session_state.session_count} sessions running, this is a demo and only supports 2 parallel sessions, \n please try in sometime')
|
|
|
111 |
print(run_kwargs)
|
112 |
try:
|
113 |
run_survey(**run_kwargs)
|
114 |
+
except e:
|
115 |
+
st.write(f'ERROR: {str(e)}, server might be crowded right now, please try later, thank you for your patience')
|
116 |
pass
|
117 |
else:
|
118 |
st.write(f'{st.session_state.session_count} sessions running, this is a demo and only supports 2 parallel sessions, \n please try in sometime')
|