Spaces:
Sleeping
Sleeping
Commit
·
6bbba28
1
Parent(s):
c174e6c
Update main.py
Browse files
main.py
CHANGED
@@ -71,6 +71,10 @@ def video_feed():
|
|
71 |
|
72 |
return jsonify({'result': 'Video parsed'})
|
73 |
|
|
|
|
|
|
|
|
|
74 |
@app.route('/get_frames', methods=['GET'])
|
75 |
def get_frames():
|
76 |
frames = Frame.query.all()
|
|
|
71 |
|
72 |
return jsonify({'result': 'Video parsed'})
|
73 |
|
74 |
+
@app.route('/')
|
75 |
+
def home():
|
76 |
+
return jsonify(message='Welcome to the Hugging Face Space!')
|
77 |
+
|
78 |
@app.route('/get_frames', methods=['GET'])
|
79 |
def get_frames():
|
80 |
frames = Frame.query.all()
|