Hack90 commited on
Commit
76d85d7
1 Parent(s): 97d5f96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -5,6 +5,7 @@ import pandas as pd
5
  from pathlib import Path
6
  import matplotlib
7
  import numpy as np
 
8
 
9
  ############################################################# 2D Line Plot ########################################################
10
  ### dvq stuff, obvs this will just be an import in the final version
@@ -880,7 +881,8 @@ with ui.navset_card_tab(id="tab"):
880
  filtered_df = df.groupby('Organism_Name').apply(filter_and_select).reset_index(drop=True)
881
  fig = plot_persistence_homology(filtered_df['Sequence'], filtered_df['Organism_Name'])
882
  return fig
883
-
 
884
  # @render.image
885
  # def image():
886
  # img = None
 
5
  from pathlib import Path
6
  import matplotlib
7
  import numpy as np
8
+ import gradio
9
 
10
  ############################################################# 2D Line Plot ########################################################
11
  ### dvq stuff, obvs this will just be an import in the final version
 
881
  filtered_df = df.groupby('Organism_Name').apply(filter_and_select).reset_index(drop=True)
882
  fig = plot_persistence_homology(filtered_df['Sequence'], filtered_df['Organism_Name'])
883
  return fig
884
+ with ui.nav_panel("Viral Model"):
885
+ gr.load("models/Hack90/virus_pythia_31_1024").launch()
886
  # @render.image
887
  # def image():
888
  # img = None