Update app.py
Browse files11 unmodified lines121314151617181911 unmodified linesif uploaded_file is not None:try:# Load the mesh using trimeshmesh = trimesh.load(uploaded_file, force='mesh')# Check if mesh is validif mesh.is_empty:11 unmodified lines121314151617181911 unmodified linesif uploaded_file is not None:try:# Load the mesh using trimesh with explicit file_typemesh = trimesh.load(uploaded_file, file_type='obj')# Check if mesh is validif mesh.is_empty:
app.py+2-2