Moibe commited on
Commit
f8092ab
·
1 Parent(s): 063db3d
Files changed (3) hide show
  1. app.py +0 -1
  2. archivos/seconds_available.txt +1 -1
  3. 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
- 144
 
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