Spaces:
Sleeping
Sleeping
Ryan
commited on
Commit
·
7f40410
1
Parent(s):
588b4b8
update
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ def create_app():
|
|
97 |
# Analysis Tab
|
98 |
with gr.Tab("Analysis"):
|
99 |
# Use create_analysis_screen to get UI components including visualization container
|
100 |
-
analysis_options, analysis_params, run_analysis_btn, analysis_output, bow_top_slider = create_analysis_screen()
|
101 |
|
102 |
# Pre-create visualization components (initially hidden)
|
103 |
visualization_area_visible = gr.Checkbox(value=False, visible=False, label="Visualization Visible")
|
@@ -399,7 +399,7 @@ def create_app():
|
|
399 |
# Run analysis with proper parameters
|
400 |
run_analysis_btn.click(
|
401 |
fn=run_analysis,
|
402 |
-
inputs=[dataset_state, analysis_options, bow_top_slider],
|
403 |
outputs=[
|
404 |
analysis_results_state,
|
405 |
analysis_output,
|
|
|
97 |
# Analysis Tab
|
98 |
with gr.Tab("Analysis"):
|
99 |
# Use create_analysis_screen to get UI components including visualization container
|
100 |
+
analysis_options, analysis_params, run_analysis_btn, analysis_output, bow_top_slider, ngram_n, ngram_top = create_analysis_screen()
|
101 |
|
102 |
# Pre-create visualization components (initially hidden)
|
103 |
visualization_area_visible = gr.Checkbox(value=False, visible=False, label="Visualization Visible")
|
|
|
399 |
# Run analysis with proper parameters
|
400 |
run_analysis_btn.click(
|
401 |
fn=run_analysis,
|
402 |
+
inputs=[dataset_state, analysis_options, bow_top_slider, ngram_n, ngram_top],
|
403 |
outputs=[
|
404 |
analysis_results_state,
|
405 |
analysis_output,
|