Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ print("Processing PDF ingestion from directory:", PDF_DIRECTORY)
|
|
84 |
data_ingestion_from_directory()
|
85 |
|
86 |
# Define the function to handle predictions
|
87 |
-
def predict(message):
|
88 |
response = handle_query(message)
|
89 |
return response
|
90 |
|
|
|
84 |
data_ingestion_from_directory()
|
85 |
|
86 |
# Define the function to handle predictions
|
87 |
+
def predict(message,history):
|
88 |
response = handle_query(message)
|
89 |
return response
|
90 |
|