Spaces:
Sleeping
Sleeping
Reupdate
Browse files- app.py +0 -1
- archivos/seconds_available.txt +1 -1
- requirements.txt +0 -2
app.py
CHANGED
@@ -15,7 +15,6 @@ app = FastAPI()
|
|
15 |
async def echo_image(image: UploadFile = File(...)):
|
16 |
if not image.content_type.startswith("image/"):
|
17 |
return {"error": "El archivo no es una imagen"}
|
18 |
-
|
19 |
contents = await image.read()
|
20 |
return StreamingResponse(BytesIO(contents), media_type=image.content_type)
|
21 |
|
|
|
15 |
async def echo_image(image: UploadFile = File(...)):
|
16 |
if not image.content_type.startswith("image/"):
|
17 |
return {"error": "El archivo no es una imagen"}
|
|
|
18 |
contents = await image.read()
|
19 |
return StreamingResponse(BytesIO(contents), media_type=image.content_type)
|
20 |
|
archivos/seconds_available.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
|
|
1 |
+
222
|
requirements.txt
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
fastapi
|
2 |
fastapi[standard]
|
3 |
-
|
4 |
huggingface_hub
|
5 |
gradio_client
|
6 |
-
|
7 |
Pillow
|
|
|
1 |
fastapi
|
2 |
fastapi[standard]
|
|
|
3 |
huggingface_hub
|
4 |
gradio_client
|
|
|
5 |
Pillow
|