Spaces:
Runtime error
Runtime error
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -29,8 +29,8 @@ model_name = "gpt-4o-mini"
|
|
| 29 |
|
| 30 |
# Extract the OpenAI key and endpoint from the configuration
|
| 31 |
|
| 32 |
-
api_key = os.environ[
|
| 33 |
-
endpoint = os.environ[
|
| 34 |
|
| 35 |
|
| 36 |
# Define the location of the SQLite database
|
|
|
|
| 29 |
|
| 30 |
# Extract the OpenAI key and endpoint from the configuration
|
| 31 |
|
| 32 |
+
api_key = os.environ['API_KEY']
|
| 33 |
+
endpoint = os.environ['OPENAI_API_BASE']
|
| 34 |
|
| 35 |
|
| 36 |
# Define the location of the SQLite database
|