Spaces:
Running
Running
Update app.py
Browse files
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") #
|
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:
|