Spaces:
Runtime error
Runtime error
ayberkuckun
commited on
Commit
•
a249880
1
Parent(s):
a7b9bfa
first
Browse files- .gitignore +1 -0
- app.py +17 -0
- requirements.txt +2 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.idea/
|
app.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import hopsworks
|
3 |
+
|
4 |
+
project = hopsworks.login()
|
5 |
+
fs = project.get_feature_store()
|
6 |
+
|
7 |
+
dataset_api = project.get_dataset_api()
|
8 |
+
|
9 |
+
dataset_api.download("Resources/aqi/images/df_next_7_days.png")
|
10 |
+
|
11 |
+
with gr.Blocks() as demo:
|
12 |
+
with gr.Row():
|
13 |
+
with gr.Column():
|
14 |
+
gr.Label("AQI Predictions for the Next 7 Days")
|
15 |
+
input_img = gr.Image("df_next_7_days.png", elem_id="predicted-img")
|
16 |
+
|
17 |
+
demo.launch()
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
hopsworks
|
2 |
+
gradio
|