abdullahalioo commited on
Commit
1287daf
·
verified ·
1 Parent(s): 6025f1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -47,4 +47,9 @@ async def generate_response(prompt: str):
47
  )
48
 
49
  def get_app():
50
- return app
 
 
 
 
 
 
47
  )
48
 
49
  def get_app():
50
+ return app
51
+
52
+ @app.get("/get-token")
53
+ async def get_token():
54
+ global token
55
+ return {"token": token}