Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -12,6 +12,10 @@ async def generate(prompt):
|
|
12 |
@app.get("/")
|
13 |
def read_root():
|
14 |
return "Hello, I'm Linlada"
|
|
|
|
|
|
|
|
|
15 |
|
16 |
@app.get('/linlada/{prompt}')
|
17 |
def generate_image_route(prompt: str):
|
|
|
12 |
@app.get("/")
|
13 |
def read_root():
|
14 |
return "Hello, I'm Linlada"
|
15 |
+
|
16 |
+
@app.get("/test/{hello}"):
|
17 |
+
def hi(hello: str):
|
18 |
+
return "Text: {hello}"
|
19 |
|
20 |
@app.get('/linlada/{prompt}')
|
21 |
def generate_image_route(prompt: str):
|