Pijush2023 commited on
Commit
663f47f
·
verified ·
1 Parent(s): 304b6f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -135,6 +135,10 @@ def run_graph(question: str):
135
  result = graph.invoke({"question": question})
136
  return result["response"]
137
 
 
 
 
 
138
  # Create a global list to store uploaded document records
139
  uploaded_documents = []
140
 
 
135
  result = graph.invoke({"question": question})
136
  return result["response"]
137
 
138
+ # Function to clear the input and response
139
+ def clear_inputs():
140
+ return "", "" # Return empty strings for both the query input and response output
141
+
142
  # Create a global list to store uploaded document records
143
  uploaded_documents = []
144