Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from openai import AsyncOpenAI
|
|
5 |
|
6 |
app = FastAPI()
|
7 |
|
8 |
-
async def generate_ai_response(prompt: str, model: str
|
9 |
# Configuration for unofficial GitHub AI endpoint
|
10 |
token = os.getenv("GITHUB_TOKEN")
|
11 |
if not token:
|
|
|
5 |
|
6 |
app = FastAPI()
|
7 |
|
8 |
+
async def generate_ai_response(prompt: str, model: str):
|
9 |
# Configuration for unofficial GitHub AI endpoint
|
10 |
token = os.getenv("GITHUB_TOKEN")
|
11 |
if not token:
|