kamran-r123 commited on
Commit
bac06d6
·
verified ·
1 Parent(s): c53376b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -3
main.py CHANGED
@@ -50,6 +50,7 @@ def generate(item: Item):
50
  return output
51
 
52
  @app.post("/generate/")
53
- async def generate_text(item: Item):
54
- ans = generate(item)
55
- return {"response": ans}
 
 
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'}