Spaces:
Running
Running
update
Browse files
app.py
CHANGED
@@ -211,6 +211,9 @@ def create_interface():
|
|
211 |
pinecone_id = job_containers[container_index]['pinecone_id']
|
212 |
if pinecone_id:
|
213 |
response = matcher.submit_feedback(pinecone_id, is_relevant)
|
|
|
|
|
|
|
214 |
return response
|
215 |
return "Error: Job ID not found"
|
216 |
|
|
|
211 |
pinecone_id = job_containers[container_index]['pinecone_id']
|
212 |
if pinecone_id:
|
213 |
response = matcher.submit_feedback(pinecone_id, is_relevant)
|
214 |
+
# Convert the response to a string if it's a dictionary
|
215 |
+
if isinstance(response, dict):
|
216 |
+
return str(response)
|
217 |
return response
|
218 |
return "Error: Job ID not found"
|
219 |
|