Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ if st.button('Find Property'):
|
|
| 19 |
|
| 20 |
# Call the OpenAI API with the chat model
|
| 21 |
response = openai.ChatCompletion.create(
|
| 22 |
-
model="gpt-4
|
| 23 |
messages=[
|
| 24 |
{"role": "system", "content": "You are a helpful assistant."},
|
| 25 |
{"role": "user", "content": user_input}
|
|
|
|
| 19 |
|
| 20 |
# Call the OpenAI API with the chat model
|
| 21 |
response = openai.ChatCompletion.create(
|
| 22 |
+
model="gpt-4", # Replace with the GPT-4 model you are using
|
| 23 |
messages=[
|
| 24 |
{"role": "system", "content": "You are a helpful assistant."},
|
| 25 |
{"role": "user", "content": user_input}
|