Spaces:
Sleeping
Sleeping
on1onmangoes
commited on
Update app.py
Browse files
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")
|