Spaces:
Sleeping
Sleeping
Update setup_code.py
Browse files- 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 >=
|
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"):
|