Muteeba commited on
Commit
4b6edbd
·
1 Parent(s): 344ea31

fix global declaration error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -283,7 +283,7 @@ def internal(e):
283
  log.exception("Unhandled error"); return jsonify({"error":"Internal server error."}), 500
284
 
285
  if __name__ == "__main__":
286
- global _models_ready
287
  log.info("FunGO v2.0 — HuggingFace Space starting ...")
288
  config.ensure_dirs()
289
 
 
283
  log.exception("Unhandled error"); return jsonify({"error":"Internal server error."}), 500
284
 
285
  if __name__ == "__main__":
286
+
287
  log.info("FunGO v2.0 — HuggingFace Space starting ...")
288
  config.ensure_dirs()
289