Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,6 @@ from natural_language_query import NLQueryEngine
|
|
| 8 |
from predictive_analytics import PredictiveAnalytics
|
| 9 |
from anomaly_detection import AnomalyDetector
|
| 10 |
from time_series_forecasting import TimeSeriesForecaster
|
| 11 |
-
from geospatial_visualization import GeospatialVisualizer
|
| 12 |
from sentiment_analysis import SentimentAnalyzer
|
| 13 |
from data_storytelling import DataStoryteller
|
| 14 |
import pandas as pd
|
|
@@ -25,7 +24,6 @@ class DataAutomationApp:
|
|
| 25 |
self.predictive_analytics = PredictiveAnalytics()
|
| 26 |
self.anomaly_detector = AnomalyDetector()
|
| 27 |
self.time_series_forecaster = TimeSeriesForecaster()
|
| 28 |
-
self.geospatial_visualizer = GeospatialVisualizer()
|
| 29 |
self.sentiment_analyzer = SentimentAnalyzer()
|
| 30 |
self.data_storyteller = DataStoryteller()
|
| 31 |
self.data_privacy_tool = DataPrivacyTool()
|
|
@@ -85,10 +83,7 @@ class DataAutomationApp:
|
|
| 85 |
forecast = self.time_series_forecaster.forecast(self.data)
|
| 86 |
st.write(forecast)
|
| 87 |
|
| 88 |
-
|
| 89 |
-
if st.button("Geospatial Visualization"):
|
| 90 |
-
geo_viz = self.geospatial_visualizer.visualize(self.data)
|
| 91 |
-
st.pyplot(geo_viz)
|
| 92 |
|
| 93 |
# Sentiment Analysis
|
| 94 |
if st.button("Analyze Sentiment"):
|
|
|
|
| 8 |
from predictive_analytics import PredictiveAnalytics
|
| 9 |
from anomaly_detection import AnomalyDetector
|
| 10 |
from time_series_forecasting import TimeSeriesForecaster
|
|
|
|
| 11 |
from sentiment_analysis import SentimentAnalyzer
|
| 12 |
from data_storytelling import DataStoryteller
|
| 13 |
import pandas as pd
|
|
|
|
| 24 |
self.predictive_analytics = PredictiveAnalytics()
|
| 25 |
self.anomaly_detector = AnomalyDetector()
|
| 26 |
self.time_series_forecaster = TimeSeriesForecaster()
|
|
|
|
| 27 |
self.sentiment_analyzer = SentimentAnalyzer()
|
| 28 |
self.data_storyteller = DataStoryteller()
|
| 29 |
self.data_privacy_tool = DataPrivacyTool()
|
|
|
|
| 83 |
forecast = self.time_series_forecaster.forecast(self.data)
|
| 84 |
st.write(forecast)
|
| 85 |
|
| 86 |
+
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
# Sentiment Analysis
|
| 89 |
if st.button("Analyze Sentiment"):
|