Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -36,7 +36,7 @@ async def generate_image_route(request: Request):
|
|
36 |
return result
|
37 |
|
38 |
|
39 |
-
@app.get('/
|
40 |
def generate_image_route(prompt: str):
|
41 |
loop = asyncio.new_event_loop()
|
42 |
asyncio.set_event_loop(loop)
|
|
|
36 |
return result
|
37 |
|
38 |
|
39 |
+
@app.get('/linlada2/{prompt}')
|
40 |
def generate_image_route(prompt: str):
|
41 |
loop = asyncio.new_event_loop()
|
42 |
asyncio.set_event_loop(loop)
|