Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,8 +6,9 @@ import random
|
|
| 6 |
import json
|
| 7 |
|
| 8 |
# OpenAI GPT-4 Konfiguration
|
| 9 |
-
OPENAI_API_KEY = os.getenv("
|
| 10 |
-
current_model = "gpt-
|
|
|
|
| 11 |
|
| 12 |
# OpenAI Client initialisieren
|
| 13 |
openai.api_key = OPENAI_API_KEY
|
|
|
|
| 6 |
import json
|
| 7 |
|
| 8 |
# OpenAI GPT-4 Konfiguration
|
| 9 |
+
OPENAI_API_KEY = os.getenv("openai")
|
| 10 |
+
current_model = "gpt-3.5-turbo"
|
| 11 |
+
#"gpt-4"
|
| 12 |
|
| 13 |
# OpenAI Client initialisieren
|
| 14 |
openai.api_key = OPENAI_API_KEY
|