abdullahalioo commited on
Commit
725804c
·
verified ·
1 Parent(s): 387e225

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ async def generate_response(prompt: str):
75
  media_type="text/event-stream"
76
  )
77
 
78
- @app.get("/get-token") # New endpoint to return the token
79
  async def get_token():
80
  global token
81
  if not token:
 
75
  media_type="text/event-stream"
76
  )
77
 
78
+ @app.get("/get-token") # Added endpoint to return the token
79
  async def get_token():
80
  global token
81
  if not token: