Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -44,5 +44,5 @@ def generate(item: Item):
|
|
44 |
|
45 |
@app.post("/generate/")
|
46 |
async def generate_text(item: Item):
|
47 |
-
return generate(item)
|
48 |
|
|
|
44 |
|
45 |
@app.post("/generate/")
|
46 |
async def generate_text(item: Item):
|
47 |
+
return { "response":generate(item) }
|
48 |
|