Spaces:
Runtime error
Runtime error
cosmetics change
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ if st.button("Run"):
|
|
109 |
print("result:", result)
|
110 |
if "error" in result:
|
111 |
if type(result["error"]) is str:
|
112 |
-
st.write(f'{result["error"]}.')
|
113 |
if "estimated_time" in result:
|
114 |
st.write(f'Please try it again in about {result["estimated_time"]:.0f} seconds')
|
115 |
else:
|
|
|
109 |
print("result:", result)
|
110 |
if "error" in result:
|
111 |
if type(result["error"]) is str:
|
112 |
+
st.write(f'{result["error"]}.', end=" ")
|
113 |
if "estimated_time" in result:
|
114 |
st.write(f'Please try it again in about {result["estimated_time"]:.0f} seconds')
|
115 |
else:
|