Spaces:
Sleeping
Sleeping
Update app2.py
Browse files82 unmodified lines8384858687888982 unmodified linesreturn send_from_directory('.', 'index.html')# --- THE NEW WEBSOCKET PIPELINE ---82 unmodified lines838485868788899091929382 unmodified linesreturn send_from_directory('.', 'index.html')# --- ADD THIS NEW ROUTE HERE ---@app.route('/<path:filename>')def serve_static_files(filename):# This allows Flask to send the smpl.glb file when the browser asks for it!return send_from_directory('.', filename)# --- THE NEW WEBSOCKET PIPELINE ---
app2.py+5-1