Spaces:
Sleeping
Sleeping
Add astana real estate pricing data
Browse files
app.py
CHANGED
|
@@ -161,6 +161,16 @@ with gr.Blocks() as demo:
|
|
| 161 |
with gr.Row(label="Example Data"):
|
| 162 |
examples = gr.Examples(
|
| 163 |
examples=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 164 |
[
|
| 165 |
os.path.join(
|
| 166 |
os.path.dirname(__file__),
|
|
@@ -169,6 +179,7 @@ with gr.Blocks() as demo:
|
|
| 169 |
),
|
| 170 |
12,
|
| 171 |
3,
|
|
|
|
| 172 |
],
|
| 173 |
[
|
| 174 |
os.path.join(
|
|
@@ -178,6 +189,7 @@ with gr.Blocks() as demo:
|
|
| 178 |
),
|
| 179 |
12,
|
| 180 |
3,
|
|
|
|
| 181 |
],
|
| 182 |
[
|
| 183 |
os.path.join(
|
|
@@ -187,10 +199,11 @@ with gr.Blocks() as demo:
|
|
| 187 |
),
|
| 188 |
12,
|
| 189 |
3,
|
|
|
|
| 190 |
],
|
| 191 |
],
|
| 192 |
fn=preprocess,
|
| 193 |
-
inputs=[file_output, prediction_length, windows],
|
| 194 |
outputs=[plot],
|
| 195 |
run_on_click=True,
|
| 196 |
)
|
|
|
|
| 161 |
with gr.Row(label="Example Data"):
|
| 162 |
examples = gr.Examples(
|
| 163 |
examples=[
|
| 164 |
+
[
|
| 165 |
+
os.path.join(
|
| 166 |
+
os.path.dirname(__file__),
|
| 167 |
+
"examples",
|
| 168 |
+
"kazakhstan_astana_realestate.csv",
|
| 169 |
+
),
|
| 170 |
+
12,
|
| 171 |
+
3,
|
| 172 |
+
30,
|
| 173 |
+
],
|
| 174 |
[
|
| 175 |
os.path.join(
|
| 176 |
os.path.dirname(__file__),
|
|
|
|
| 179 |
),
|
| 180 |
12,
|
| 181 |
3,
|
| 182 |
+
10,
|
| 183 |
],
|
| 184 |
[
|
| 185 |
os.path.join(
|
|
|
|
| 189 |
),
|
| 190 |
12,
|
| 191 |
3,
|
| 192 |
+
10,
|
| 193 |
],
|
| 194 |
[
|
| 195 |
os.path.join(
|
|
|
|
| 199 |
),
|
| 200 |
12,
|
| 201 |
3,
|
| 202 |
+
10,
|
| 203 |
],
|
| 204 |
],
|
| 205 |
fn=preprocess,
|
| 206 |
+
inputs=[file_output, prediction_length, windows, epochs],
|
| 207 |
outputs=[plot],
|
| 208 |
run_on_click=True,
|
| 209 |
)
|