Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,4 +34,6 @@ try:
|
|
34 |
|
35 |
except FileNotFoundError:
|
36 |
st.error(f"Error: Could not find the file '{html_file_path}'.")
|
37 |
-
st.warning("Please make sure
|
|
|
|
|
|
34 |
|
35 |
except FileNotFoundError:
|
36 |
st.error(f"Error: Could not find the file '{html_file_path}'.")
|
37 |
+
st.warning("Please make sure the `index.html` file (containing the Three.js code) is in the same directory as this `app.py` script.")
|
38 |
+
except Exception as e:
|
39 |
+
st.error(f"An error occurred while reading or embedding the HTML file: {e}")
|