dhairyashah commited on
Commit
2b2c24c
·
verified ·
1 Parent(s): 4d7a2fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -88,6 +88,10 @@ def analyze_video(video_path, sample_rate=30):
88
  else:
89
  return 0
90
 
 
 
 
 
91
  @app.route('/analyze', methods=['POST'])
92
  def analyze_video_api():
93
  if 'video' not in request.files:
 
88
  else:
89
  return 0
90
 
91
+ @app.route('/', methods=['GET'])
92
+ def home():
93
+ return jsonify({'homepage': 'http://deepfake-checker.dhairyashah.dev'})
94
+
95
  @app.route('/analyze', methods=['POST'])
96
  def analyze_video_api():
97
  if 'video' not in request.files: