dakaca commited on
Commit
0729cf9
·
1 Parent(s): f2d5f3c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +8 -0
main.py CHANGED
@@ -64,7 +64,15 @@ async def Reply(req: Request):
64
 
65
  print(f'REPLY: {reply}')
66
  return {'reply': reply}
 
 
 
67
 
 
 
 
 
 
68
 
69
  @app.get("/")
70
  def read_root():
 
64
 
65
  print(f'REPLY: {reply}')
66
  return {'reply': reply}
67
+ @app.post('/rep')
68
+ def Rep():
69
+
70
 
71
+
72
+ reply = gpt4free.Completion.create(Provider.Theb, prompt="hello")
73
+
74
+ print(f'REPLY: {reply}')
75
+ return {'reply': reply}
76
 
77
  @app.get("/")
78
  def read_root():