Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -40,7 +40,7 @@ def update_chat_history(msg):
|
|
40 |
|
41 |
chat_history = [h for h in chat_history if h['timestamp'] > five_min_ago]
|
42 |
|
43 |
-
@app.get("/AnotherAPI/{api_key}/GPT/
|
44 |
async def chat(api_key: str, prompt: str):
|
45 |
API = AnotherAPI(api_key)
|
46 |
API.chat.new_chat('csTC3hw0Fnj1Whnl0uV1Nb3_oYIillMQtdBH5NEl0Gs')
|
|
|
40 |
|
41 |
chat_history = [h for h in chat_history if h['timestamp'] > five_min_ago]
|
42 |
|
43 |
+
@app.get("/AnotherAPI/{api_key}/GPT/Noir/{prompt}")
|
44 |
async def chat(api_key: str, prompt: str):
|
45 |
API = AnotherAPI(api_key)
|
46 |
API.chat.new_chat('csTC3hw0Fnj1Whnl0uV1Nb3_oYIillMQtdBH5NEl0Gs')
|