Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import joblib
|
|
12 |
project = hopsworks.login(project="test42",api_key_value=os.environ.get("HOPSWORKS_API_KEYS"))
|
13 |
fs = project.get_feature_store()
|
14 |
dataset_api = project.get_dataset_api()
|
15 |
-
dataset_api.download("Resources/aqi_results.csv")
|
16 |
aqi = pd.read_csv('aqi_results.csv')
|
17 |
|
18 |
'''
|
@@ -36,7 +36,7 @@ with gr.Blocks() as demo:
|
|
36 |
|
37 |
def plotly_plot():
|
38 |
# prepare some data
|
39 |
-
dataset_api.download("Resources/aqi_results.csv")
|
40 |
aqi = pd.read_csv('aqi_results.csv')
|
41 |
|
42 |
x = list(aqi['datetime'])
|
|
|
12 |
project = hopsworks.login(project="test42",api_key_value=os.environ.get("HOPSWORKS_API_KEYS"))
|
13 |
fs = project.get_feature_store()
|
14 |
dataset_api = project.get_dataset_api()
|
15 |
+
dataset_api.download("Resources/aqi_results.csv",overwrite=True)
|
16 |
aqi = pd.read_csv('aqi_results.csv')
|
17 |
|
18 |
'''
|
|
|
36 |
|
37 |
def plotly_plot():
|
38 |
# prepare some data
|
39 |
+
dataset_api.download("Resources/aqi_results.csv",overwrite=True)
|
40 |
aqi = pd.read_csv('aqi_results.csv')
|
41 |
|
42 |
x = list(aqi['datetime'])
|