awacke1 commited on
Commit
f7eafd6
·
verified ·
1 Parent(s): 2475edf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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}")