Eachan Johnson commited on
Commit
41530f7
·
1 Parent(s): bd3f0a5

Change plot to png

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -318,6 +318,7 @@ with gr.Blocks() as demo:
318
  plot = gr.Plot(
319
  label="Model fit",
320
  scale=4,
 
321
  )
322
  gr.on(
323
  triggers=[s.change for s in param_sliders],# + [refresh_button.click],
@@ -357,6 +358,7 @@ with gr.Blocks() as demo:
357
  forecast = gr.Plot(
358
  label="Forecast",
359
  scale=4,
 
360
  )
361
  gr.on(
362
  triggers=[s.release for s in param_and_forecast_sliders],# + [refresh_button_forecast.click, refresh_button.click],
 
318
  plot = gr.Plot(
319
  label="Model fit",
320
  scale=4,
321
+ format="png",
322
  )
323
  gr.on(
324
  triggers=[s.change for s in param_sliders],# + [refresh_button.click],
 
358
  forecast = gr.Plot(
359
  label="Forecast",
360
  scale=4,
361
+ format="png",
362
  )
363
  gr.on(
364
  triggers=[s.release for s in param_and_forecast_sliders],# + [refresh_button_forecast.click, refresh_button.click],