prthm11 commited on
Commit
b1fb4e5
·
verified ·
1 Parent(s): 4a309b0

Update app_main.py

Browse files
Files changed (1) hide show
  1. app_main.py +4 -0
app_main.py CHANGED
@@ -121,6 +121,10 @@ def extract_images_from_pdf(pdf_path, output_json_path):
121
  print(f"✅ Manipulated sprite JSON saved: {final_json_path}")
122
  return final_json_path, manipulated_json
123
 
 
 
 
 
124
  # API endpoint
125
  @app.route('/process_static_pdf', methods=['POST'])
126
  def process_static_pdf():
 
121
  print(f"✅ Manipulated sprite JSON saved: {final_json_path}")
122
  return final_json_path, manipulated_json
123
 
124
+ @app.route('/')
125
+ def index():
126
+ return render_template('app_index.html')
127
+
128
  # API endpoint
129
  @app.route('/process_static_pdf', methods=['POST'])
130
  def process_static_pdf():