RamAnanth1 commited on
Commit
d638a0c
1 Parent(s): 247598f

Remove duplicate Character Repetition Criteria tab

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -111,18 +111,6 @@ with gr.Blocks() as demo:
111
  calculate.click(plot_fn, [dataset, threshold], plot)
112
  check_fn = partial(check_filtered, "check_word_number_criteria")
113
  check.click(check_fn, [dataset, threshold], filtered_data)
114
-
115
- with gr.Tab("Character Repetition Criteria"):
116
- # plot some random data
117
- plot = gr.Plot()
118
- threshold = gr.Slider(minimum=0, maximum=1, label="Threshold")
119
- calculate = gr.Button("Calculate")
120
- check = gr.Button("Check Filtered Data")
121
- filtered_data = gr.Textbox(lines=5, label="Filtered Data")
122
- plot_fn = partial(plt_plot, "check_char_repetition_criteria")
123
- calculate.click(plot_fn, [dataset, threshold], plot)
124
- check_fn = partial(check_filtered, "check_char_repetition_criteria")
125
- check.click(check_fn, [dataset, threshold], filtered_data)
126
 
127
  with gr.Tab("Stop Word Ratio Criteria"):
128
  plot = gr.Plot()
 
111
  calculate.click(plot_fn, [dataset, threshold], plot)
112
  check_fn = partial(check_filtered, "check_word_number_criteria")
113
  check.click(check_fn, [dataset, threshold], filtered_data)
 
 
 
 
 
 
 
 
 
 
 
 
114
 
115
  with gr.Tab("Stop Word Ratio Criteria"):
116
  plot = gr.Plot()