sreepathi-ravikumar commited on
Commit
a202aaf
·
verified ·
1 Parent(s): ec2cc46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ from flask_cors import CORS
3
  from audio_generator import generate_audio
4
  import os
5
 
6
- app = Flask(_name_)
7
  CORS(app)
8
 
9
  @app.route('/health', methods=['GET'])
@@ -29,5 +29,5 @@ def generate_audio_route():
29
  except Exception as e:
30
  return jsonify({"error": str(e)}), 500
31
 
32
- if _name_ == "_main_":
33
  app.run(host='0.0.0.0', port=7860)
 
3
  from audio_generator import generate_audio
4
  import os
5
 
6
+ app = Flask(__name__)
7
  CORS(app)
8
 
9
  @app.route('/health', methods=['GET'])
 
29
  except Exception as e:
30
  return jsonify({"error": str(e)}), 500
31
 
32
+ if __name__ == "__main__":
33
  app.run(host='0.0.0.0', port=7860)