Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ openai.api_key = os.getenv('OPENAI_KEY')
|
|
16 |
|
17 |
def chat_with_model(prompts):
|
18 |
#model = "gpt-3.5-turbo"
|
19 |
-
model = "gpt-4"
|
20 |
conversation = [{'role': 'system', 'content': 'You are a helpful assistant.'}]
|
21 |
conversation.extend([{'role': 'user', 'content': prompt} for prompt in prompts])
|
22 |
|
|
|
16 |
|
17 |
def chat_with_model(prompts):
|
18 |
#model = "gpt-3.5-turbo"
|
19 |
+
model = "gpt-4-32k"
|
20 |
conversation = [{'role': 'system', 'content': 'You are a helpful assistant.'}]
|
21 |
conversation.extend([{'role': 'user', 'content': prompt} for prompt in prompts])
|
22 |
|