sreepathi-ravikumar commited on
Commit
81787d0
·
verified ·
1 Parent(s): 64d5104

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ from text2generation import generate_educational_content
4
  from video_processor import create_video
5
  import os
6
 
7
- app = Flask(_name_)
8
  CORS(app)
9
 
10
  @app.route('/health')
@@ -41,5 +41,5 @@ def generate_content():
41
  except Exception as e:
42
  return jsonify({"error": str(e)}), 500
43
 
44
- if _name_ == '_main_':
45
  app.run(host='0.0.0.0', port=7860)
 
4
  from video_processor import create_video
5
  import os
6
 
7
+ app = Flask(__name__)
8
  CORS(app)
9
 
10
  @app.route('/health')
 
41
  except Exception as e:
42
  return jsonify({"error": str(e)}), 500
43
 
44
+ if __name__ == '__main__':
45
  app.run(host='0.0.0.0', port=7860)