Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1278,17 +1278,3 @@ class DataAnalysisChatbot:
|
|
1278 |
|
1279 |
return help_text
|
1280 |
|
1281 |
-
# Example usage
|
1282 |
-
if __name__ == "__main__":
|
1283 |
-
print("Data Analysis Chatbot initialized. Type 'help' for available commands.")
|
1284 |
-
chatbot = DataAnalysisChatbot()
|
1285 |
-
|
1286 |
-
while True:
|
1287 |
-
user_input = input("\nEnter your query (or 'exit' to quit): ")
|
1288 |
-
|
1289 |
-
if user_input.lower() in ['exit', 'quit']:
|
1290 |
-
print("Exiting chatbot. Goodbye!")
|
1291 |
-
break
|
1292 |
-
|
1293 |
-
response = chatbot.process_query(user_input)
|
1294 |
-
print("\nResponse:", response)
|
|
|
1278 |
|
1279 |
return help_text
|
1280 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|