Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -123,7 +123,13 @@ async def analyze_video(file: UploadFile = File(...)):
|
|
123 |
dataframe_sequences = identifier_sequences_surfing("uploaded_video.mp4", intervalle=1)
|
124 |
json_result = convertir_sequences_en_json(dataframe_sequences)
|
125 |
return json_result
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
dataframe_sequences = identifier_sequences_surfing("uploaded_video.mp4", intervalle=1)
|
124 |
json_result = convertir_sequences_en_json(dataframe_sequences)
|
125 |
return json_result
|
126 |
+
|
127 |
+
|
128 |
+
@app.get("/", response_class=HTMLResponse, tags=["Introduction Endpoints"])
|
129 |
+
async def index():
|
130 |
+
return (
|
131 |
+
"Hello world! This `/` is the most simple and default endpoint. "
|
132 |
+
"If you want to learn more, check out documentation of the API at "
|
133 |
+
"<a href='/docs'>/docs</a> or "
|
134 |
+
"<a href='https://2nzi-video-sequence-labeling.hf.space/docs' target='_blank'>external docs</a>."
|
135 |
+
)
|