Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ async def generate_ai_response(prompt: str , model: str):
|
|
12 |
raise HTTPException(status_code=500, detail="GitHub token not configured")
|
13 |
|
14 |
endpoint = "https://models.github.ai/inference"
|
15 |
-
|
16 |
|
17 |
client = AsyncOpenAI(base_url=endpoint, api_key=token)
|
18 |
|
|
|
12 |
raise HTTPException(status_code=500, detail="GitHub token not configured")
|
13 |
|
14 |
endpoint = "https://models.github.ai/inference"
|
15 |
+
|
16 |
|
17 |
client = AsyncOpenAI(base_url=endpoint, api_key=token)
|
18 |
|