long1104 commited on
Commit
985fbf6
1 Parent(s): 89dcc4f

Update setup_code.py

Browse files
Files changed (1) hide show
  1. setup_code.py +2 -2
setup_code.py CHANGED
@@ -188,9 +188,9 @@ class Relevant_Documents_Agent:
188
  response = get_completion(self.client, prompt)
189
  count += int(is_Yes(response))
190
 
191
- st.write(str(count))
192
  # return is_Yes(response)
193
- return count >= 2
194
 
195
  class OpenAI_Agent:
196
  def __init__(self, model="gpt-3.5-turbo", key_filename="open_ai_key.txt"):
 
188
  response = get_completion(self.client, prompt)
189
  count += int(is_Yes(response))
190
 
191
+ # st.write(str(count))
192
  # return is_Yes(response)
193
+ return count >= 1
194
 
195
  class OpenAI_Agent:
196
  def __init__(self, model="gpt-3.5-turbo", key_filename="open_ai_key.txt"):