Another001 commited on
Commit
7b66917
1 Parent(s): 42634bb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -44,7 +44,7 @@ async def clean_chat_history():
44
  del chat_history[session_id]
45
  await asyncio.sleep(60)
46
  #-------------------------------------------------------------------------------
47
- @app.get("/AnotherAPI/GPT/Noir/{api_key}/{prompt}")
48
  async def chat(request: Request, api_key: str, prompt: str):
49
  try:
50
  API = AnotherAPI(api_key)
 
44
  del chat_history[session_id]
45
  await asyncio.sleep(60)
46
  #-------------------------------------------------------------------------------
47
+ @app.get("/AnotherAPI/{api_key}/GPT/Noir/{prompt}")
48
  async def chat(request: Request, api_key: str, prompt: str):
49
  try:
50
  API = AnotherAPI(api_key)