Update main.py
Browse files
main.py
CHANGED
@@ -28,12 +28,6 @@ def hi(hello: str):
|
|
28 |
return {"text": hello}
|
29 |
|
30 |
|
31 |
-
@app.post('/linlada')
|
32 |
-
from fastapi import FastAPI, Request
|
33 |
-
import asyncio
|
34 |
-
|
35 |
-
app = FastAPI()
|
36 |
-
|
37 |
@app.post('/linlada')
|
38 |
async def generate_image_route(request: Request):
|
39 |
data = await request.json()
|
|
|
28 |
return {"text": hello}
|
29 |
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
@app.post('/linlada')
|
32 |
async def generate_image_route(request: Request):
|
33 |
data = await request.json()
|