Spaces:
Runtime error
Runtime error
Update app.py
Browse files350 unmodified lines3513523533543543553563573 unmodified lines36136236336436436536636716 unmodified lines38438538638738738838939018 unmodified lines409410411412412413414415350 unmodified lines interactive=True ) gr.HTML("<br><h3>🤖 Model Selection</h3>") # gr.HTML("<br><h3>🤖 Model Selection</h3>") # 2. Model Selection (second, without buttons) model_dropdown = gr.Dropdown( choices=list(MODELS.keys()),3 unmodified lines interactive=True ) gr.HTML("<br><h3>⚙️ Parameters</h3>") # gr.HTML("<br><h3>⚙️ Parameters</h3>") # 3. All parameters together (third) with gr.Row(): conf_threshold = gr.Slider(16 unmodified lines label="Transparency", scale=1 ) gr.HTML("<br>") # gr.HTML("<br>") # 4. Analyze button (last) analyze_btn = gr.Button("🔍 Analyze Document", variant="primary", size="lg") 18 unmodified lines ) # Labels toggle (independent control) gr.HTML("<h4>🎨 Visualization</h4>") # gr.HTML("<h4>🎨 Visualization</h4>") show_labels_checkbox = gr.Checkbox( value=True, label="Show Class Labels",app.py+4-4