ncoop57 commited on
Commit
8952db1
1 Parent(s): 37fbf5c

Update threshold ranges

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,7 +89,7 @@ with gr.Blocks() as demo:
89
  with gr.Tab("Number of Words Criteria"):
90
  # plot some random data
91
  plot = gr.Plot()
92
- threshold = gr.Slider(minimum=0, maximum=1, label="Threshold")
93
  calculate = gr.Button("Calculate")
94
  check = gr.Button("Check Filtered Data")
95
  filtered_data = gr.Textbox(lines=5, label="Filtered Data")
@@ -134,7 +134,7 @@ with gr.Blocks() as demo:
134
 
135
  with gr.Tab("Perplexity Criteria"):
136
  plot = gr.Plot()
137
- threshold = gr.Slider(minimum=0, maximum=1, label="Threshold")
138
  calculate = gr.Button("Calculate")
139
  check = gr.Button("Check Filtered Data")
140
  filtered_data = gr.Textbox(lines=5, label="Filtered Data")
 
89
  with gr.Tab("Number of Words Criteria"):
90
  # plot some random data
91
  plot = gr.Plot()
92
+ threshold = gr.Slider(minimum=0, maximum=50_000, label="Threshold")
93
  calculate = gr.Button("Calculate")
94
  check = gr.Button("Check Filtered Data")
95
  filtered_data = gr.Textbox(lines=5, label="Filtered Data")
 
134
 
135
  with gr.Tab("Perplexity Criteria"):
136
  plot = gr.Plot()
137
+ threshold = gr.Slider(minimum=0, maximum=50_000, label="Threshold")
138
  calculate = gr.Button("Calculate")
139
  check = gr.Button("Check Filtered Data")
140
  filtered_data = gr.Textbox(lines=5, label="Filtered Data")