Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -132,8 +132,6 @@ async def generate_text(item: Item = None):
|
|
132 |
|
133 |
raise HTTPException(status_code=500, detail=error)
|
134 |
|
135 |
-
return {"text": response_text} # ✅ Fixed format
|
136 |
-
|
137 |
# Show online status
|
138 |
@app.get("/")
|
139 |
def root():
|
|
|
132 |
|
133 |
raise HTTPException(status_code=500, detail=error)
|
134 |
|
|
|
|
|
135 |
# Show online status
|
136 |
@app.get("/")
|
137 |
def root():
|