Spaces:
Sleeping
Sleeping
Antcar
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,8 +43,8 @@ def predict_eta(distance_meters, num_stops, hour, day_name, route_id):
|
|
| 43 |
except Exception as e:
|
| 44 |
return f"Error: {str(e)}"
|
| 45 |
|
| 46 |
-
# 2. Build the UI using Blocks (
|
| 47 |
-
with gr.Blocks(
|
| 48 |
gr.Markdown("# HK-TransitFlow-Net Demo π")
|
| 49 |
gr.Markdown("Live inference for HK Bus ETA prediction.")
|
| 50 |
|
|
|
|
| 43 |
except Exception as e:
|
| 44 |
return f"Error: {str(e)}"
|
| 45 |
|
| 46 |
+
# 2. Build the UI using Blocks (Standard Theme)
|
| 47 |
+
with gr.Blocks() as demo:
|
| 48 |
gr.Markdown("# HK-TransitFlow-Net Demo π")
|
| 49 |
gr.Markdown("Live inference for HK Bus ETA prediction.")
|
| 50 |
|