Spaces:
Sleeping
Sleeping
kamran-r123
commited on
Update main.py
Browse files
main.py
CHANGED
@@ -50,6 +50,7 @@ def generate(item: Item):
|
|
50 |
return output
|
51 |
|
52 |
@app.post("/generate/")
|
53 |
-
async def generate_text(
|
54 |
-
|
55 |
-
|
|
|
|
50 |
return output
|
51 |
|
52 |
@app.post("/generate/")
|
53 |
+
async def generate_text(data):
|
54 |
+
print(data)
|
55 |
+
# ans = generate(item)
|
56 |
+
return {"response": 'ans'}
|