HirCoir commited on
Commit
0fc3b2e
1 Parent(s): 811ad8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -36,6 +36,8 @@ def convert_text_to_speech(parrafo, model):
36
  def index():
37
  model_folder = os.path.join(file_folder)
38
  model_options = [file for file in os.listdir(model_folder) if file.endswith('.onnx')]
 
 
39
  return render_template('index.html', model_options=model_options)
40
 
41
  @app.route('/convert', methods=['POST'])
 
36
  def index():
37
  model_folder = os.path.join(file_folder)
38
  model_options = [file for file in os.listdir(model_folder) if file.endswith('.onnx')]
39
+ # Log the contents of the current folder
40
+ app.logger.info("Contents of current folder: %s", os.listdir(file_folder))
41
  return render_template('index.html', model_options=model_options)
42
 
43
  @app.route('/convert', methods=['POST'])