on1onmangoes commited on
Commit
d14c86c
·
verified ·
1 Parent(s): e81f244

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -42,7 +42,8 @@ def stream_chat_with_rag(
42
 
43
  # Call the API with the user's message
44
  question = message
45
- answer = client.predict(question=question, api_name="/run_graph")
 
46
 
47
  # Debugging: Print the raw response
48
  print("Raw answer from API:")
 
42
 
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=answer_with_rag_select_client_dropdown, api_name="/run_graph_with_namespace")
47
 
48
  # Debugging: Print the raw response
49
  print("Raw answer from API:")