Spaces:
Runtime error
Runtime error
Srinivasulu kethanaboina
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -96,6 +96,7 @@ def handle_query(query):
|
|
96 |
# Example usage: Process PDF ingestion from directory
|
97 |
print("Processing PDF ingestion from directory:", PDF_DIRECTORY)
|
98 |
data_ingestion_from_directory()
|
|
|
99 |
# Define the function to handle predictions
|
100 |
"""def predict(message,history):
|
101 |
response = handle_query(message)
|
|
|
96 |
# Example usage: Process PDF ingestion from directory
|
97 |
print("Processing PDF ingestion from directory:", PDF_DIRECTORY)
|
98 |
data_ingestion_from_directory()
|
99 |
+
app = FastAPI()
|
100 |
# Define the function to handle predictions
|
101 |
"""def predict(message,history):
|
102 |
response = handle_query(message)
|