lindsay-qu
commited on
Commit
•
203c680
1
Parent(s):
faf675e
Update models/gpt4_model.py
Browse files- models/gpt4_model.py +1 -1
models/gpt4_model.py
CHANGED
@@ -37,7 +37,7 @@ class GPT4Model(BaseModel):
|
|
37 |
max_tokens=1000,
|
38 |
).choices[0]['message']['content']
|
39 |
except:
|
40 |
-
|
41 |
# content = response.choices[0]['message']['content']
|
42 |
|
43 |
return response
|
|
|
37 |
max_tokens=1000,
|
38 |
).choices[0]['message']['content']
|
39 |
except:
|
40 |
+
response = "No answer was provided."
|
41 |
# content = response.choices[0]['message']['content']
|
42 |
|
43 |
return response
|