Docfile commited on
Commit
e58502f
·
verified ·
1 Parent(s): daa421f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def generate_synthetic_data(file_path, task_id):
117
  @app.route('/')
118
  def index():
119
  # Servir directement le HTML depuis le même dossier
120
- render_template('index.html')
121
 
122
  @app.route('/upload', methods=['POST'])
123
  def upload_file():
 
117
  @app.route('/')
118
  def index():
119
  # Servir directement le HTML depuis le même dossier
120
+ return render_template('index.html')
121
 
122
  @app.route('/upload', methods=['POST'])
123
  def upload_file():