lunadebruyne commited on
Commit
ade73e6
·
1 Parent(s): da1cbbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
  import torch
3
  import numpy as np
 
4
 
5
  import pandas as pd
6
  from tqdm import tqdm
@@ -356,7 +357,7 @@ def peaks(output_file, input_checks):
356
  return gr.update(value=html, visible=True), gr.update(visible=False) # no next_button becomes available
357
 
358
  def topics(output_file, input_checks):
359
- plot = pickle.load(open('vis_classes_covid.p', 'rb'))
360
  plot.update_layout(width=600, height=400)
361
  return gr.Plot.update(value=plot, visible=True) # no next_button becomes available
362
 
 
1
  import gradio as gr
2
  import torch
3
  import numpy as np
4
+ import pickle
5
 
6
  import pandas as pd
7
  from tqdm import tqdm
 
357
  return gr.update(value=html, visible=True), gr.update(visible=False) # no next_button becomes available
358
 
359
  def topics(output_file, input_checks):
360
+ plot = pickle.load(open('showcase/vis_classes_covid.p', 'rb'))
361
  plot.update_layout(width=600, height=400)
362
  return gr.Plot.update(value=plot, visible=True) # no next_button becomes available
363