Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def predict(message, history):
|
|
82 |
print("Switched to: {model}".format(model=model))
|
83 |
|
84 |
response = client.chat.completions.create(
|
85 |
-
model=
|
86 |
messages= history_openai_format,
|
87 |
temperature=0,
|
88 |
stream=True)
|
|
|
82 |
print("Switched to: {model}".format(model=model))
|
83 |
|
84 |
response = client.chat.completions.create(
|
85 |
+
model="gpt-3.5-turbo", # gpt-4 is temporarily disabled to save money
|
86 |
messages= history_openai_format,
|
87 |
temperature=0,
|
88 |
stream=True)
|