Spaces:
Configuration error
Configuration error
aasherkamal216
commited on
Update test4.py
Browse files
test4.py
CHANGED
|
@@ -140,7 +140,7 @@ def messages_to_gemini(messages):
|
|
| 140 |
st.write("Huraaaa")
|
| 141 |
|
| 142 |
|
| 143 |
-
except
|
| 144 |
st.error(f"An error occurred {e}")
|
| 145 |
os.remove(temp_file_path)
|
| 146 |
|
|
|
|
| 140 |
st.write("Huraaaa")
|
| 141 |
|
| 142 |
|
| 143 |
+
except Exception as e:
|
| 144 |
st.error(f"An error occurred {e}")
|
| 145 |
os.remove(temp_file_path)
|
| 146 |
|