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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ def process_pdf(pdf_file, client_name):
126
 
127
  # Function to handle RAG API call
128
  def rag_api(question):
129
- return client.predict(question=question,answer_with_rag_select_client_dropdown, api_name="/run_graph_with_namespace")
130
 
131
  def delete_index():
132
  result = client.predict(api_name="/delete_index")
 
126
 
127
  # Function to handle RAG API call
128
  def rag_api(question):
129
+ return client.predict(question=question,selected_document=answer_with_rag_select_client_dropdown, api_name="/run_graph_with_namespace")
130
 
131
  def delete_index():
132
  result = client.predict(api_name="/delete_index")