Spaces:
Runtime error
Runtime error
Commit
·
a5047f3
1
Parent(s):
535e880
Removing hostname
Browse files
app.py
CHANGED
|
@@ -263,8 +263,6 @@ def run_inference(init_time_idx, plt_channel_idx, hours_ahead):
|
|
| 263 |
|
| 264 |
logging.basicConfig(level=logging.INFO)
|
| 265 |
dataset, model, device = setup()
|
| 266 |
-
hostname = socket.getfqdn()
|
| 267 |
-
logging.info(f"Launching app on {hostname}")
|
| 268 |
|
| 269 |
with gr.Blocks() as demo:
|
| 270 |
gr.Markdown(value="# Surya 1.0 - Visual forecasting demo")
|
|
@@ -322,4 +320,4 @@ with gr.Blocks() as demo:
|
|
| 322 |
cache_examples=False,
|
| 323 |
)
|
| 324 |
|
| 325 |
-
demo.launch(
|
|
|
|
| 263 |
|
| 264 |
logging.basicConfig(level=logging.INFO)
|
| 265 |
dataset, model, device = setup()
|
|
|
|
|
|
|
| 266 |
|
| 267 |
with gr.Blocks() as demo:
|
| 268 |
gr.Markdown(value="# Surya 1.0 - Visual forecasting demo")
|
|
|
|
| 320 |
cache_examples=False,
|
| 321 |
)
|
| 322 |
|
| 323 |
+
demo.launch()
|