Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def stream_chat_with_rag(
|
|
43 |
# Call the API with the user's message
|
44 |
question = message
|
45 |
#answer = client.predict(question=question, api_name="/run_graph")
|
46 |
-
answer = client.predict(question=question,selected_document=
|
47 |
|
48 |
# Debugging: Print the raw response
|
49 |
print("Raw answer from API:")
|
|
|
43 |
# Call the API with the user's message
|
44 |
question = message
|
45 |
#answer = client.predict(question=question, api_name="/run_graph")
|
46 |
+
answer = client.predict(question=question,selected_document=client_name, api_name="/run_graph_with_namespace")
|
47 |
|
48 |
# Debugging: Print the raw response
|
49 |
print("Raw answer from API:")
|