prthm11 commited on
Commit
e15a432
·
verified ·
1 Parent(s): f4df87f

Update app_main.py

Browse files
Files changed (1) hide show
  1. app_main.py +2 -3
app_main.py CHANGED
@@ -585,8 +585,7 @@ def process_pdf():
585
  "output_json": "output_path",
586
  "sprites": "result",
587
  "project_output_json": "project_output",
588
- # "test_url":r"https://prthm11-scratch-vision-game.hf.space/download_sb3/cat_jumping"
589
- "test_url":r"game_samples//Event_test"
590
  })
591
  except Exception as e:
592
  logger.exception("❌ Failed to process PDF")
@@ -619,4 +618,4 @@ def download_sb3(project_id):
619
  return jsonify({"error": "Failed to retrieve Scratch project file"}), 500
620
 
621
  if __name__ == '__main__':
622
- app.run(host='0.0.0.0', port=7860, debug=True)
 
585
  "output_json": "output_path",
586
  "sprites": "result",
587
  "project_output_json": "project_output",
588
+ "test_url":r"https://prthm11-scratch-vision-game.hf.space/download_sb3/Event_test"
 
589
  })
590
  except Exception as e:
591
  logger.exception("❌ Failed to process PDF")
 
618
  return jsonify({"error": "Failed to retrieve Scratch project file"}), 500
619
 
620
  if __name__ == '__main__':
621
+ app.run(host='0.0.0.0', port=7860, debug=True)