Spaces:
Runtime error
Runtime error
abhi001vj
commited on
Commit
Β·
a7afb07
1
Parent(s):
005d125
added the required app
Browse files
app.py
CHANGED
@@ -149,14 +149,13 @@ if run_pressed:
|
|
149 |
)
|
150 |
except JSONDecodeError as je:
|
151 |
st.error("π An error occurred reading the results. Is the document store working?")
|
152 |
-
return
|
153 |
except Exception as e:
|
154 |
logging.exception(e)
|
155 |
if "The server is busy processing requests" in str(e) or "503" in str(e):
|
156 |
st.error("π§βπΎ All our workers are busy! Try again later.")
|
157 |
else:
|
158 |
st.error("π An error occurred during the request.")
|
159 |
-
|
160 |
|
161 |
if st.session_state.results:
|
162 |
|
|
|
149 |
)
|
150 |
except JSONDecodeError as je:
|
151 |
st.error("π An error occurred reading the results. Is the document store working?")
|
|
|
152 |
except Exception as e:
|
153 |
logging.exception(e)
|
154 |
if "The server is busy processing requests" in str(e) or "503" in str(e):
|
155 |
st.error("π§βπΎ All our workers are busy! Try again later.")
|
156 |
else:
|
157 |
st.error("π An error occurred during the request.")
|
158 |
+
|
159 |
|
160 |
if st.session_state.results:
|
161 |
|