Coco-18 commited on
Commit
e7b87ef
·
verified ·
1 Parent(s): 1f4aae2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -178,7 +178,7 @@ def before_request():
178
  g.initialized = True
179
 
180
  if __name__ == "__main__":
181
- global REFERENCE_AUDIO_DIR # Remove this line
182
  # This might return an updated path if the original fails
183
  updated_ref_dir = init_reference_audio(REFERENCE_AUDIO_DIR, OUTPUT_DIR)
184
  if updated_ref_dir and updated_ref_dir != REFERENCE_AUDIO_DIR:
 
178
  g.initialized = True
179
 
180
  if __name__ == "__main__":
181
+
182
  # This might return an updated path if the original fails
183
  updated_ref_dir = init_reference_audio(REFERENCE_AUDIO_DIR, OUTPUT_DIR)
184
  if updated_ref_dir and updated_ref_dir != REFERENCE_AUDIO_DIR: