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