Hack90 commited on
Commit
d079bda
·
verified ·
1 Parent(s): d9e840a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1004,7 +1004,7 @@ with ui.navset_card_tab(id="tab"):
1004
  multiple=True,
1005
  selected=["compliment", "cross_entropy", "headless"]
1006
  )
1007
- ui.input_slider("x_filter", "x_filter", 0, 1, 0.01)
1008
  def plot_loss_rates_model(df, param_types, loss_types, model_types):
1009
  # interplot each column to be same number of points
1010
  x = np.linspace(0, 1, 1000)
@@ -1114,7 +1114,7 @@ with ui.navset_card_tab(id="tab"):
1114
 
1115
 
1116
  # import matplotlib as mpl
1117
- @render.plot()
1118
  def plot_big_boy_model():
1119
  fig = None
1120
  df = pd.read_csv('training_data_5.csv')
 
1004
  multiple=True,
1005
  selected=["compliment", "cross_entropy", "headless"]
1006
  )
1007
+ #ui.input_slider("x_filter", "x_filter", 0, 1, 0.01)
1008
  def plot_loss_rates_model(df, param_types, loss_types, model_types):
1009
  # interplot each column to be same number of points
1010
  x = np.linspace(0, 1, 1000)
 
1114
 
1115
 
1116
  # import matplotlib as mpl
1117
+ @render.image
1118
  def plot_big_boy_model():
1119
  fig = None
1120
  df = pd.read_csv('training_data_5.csv')