humy65 commited on
Commit
6669042
·
1 Parent(s): 109bbda

Version 2.1 - Add version number and fix debug tab structure

Browse files
Files changed (1) hide show
  1. app.py +2 -37
app.py CHANGED
@@ -352,7 +352,8 @@ Total Examples: {len(training_data)}
352
  # Create interface
353
  with gr.Blocks(title="Hebrew Intent Classification - Debug") as demo:
354
 
355
- gr.Markdown("# 🇮🇱 Hebrew Intent Classification - Debug Version")
 
356
 
357
  with gr.Tab("Classification"):
358
  with gr.Row():
@@ -451,42 +452,6 @@ if __name__ == "__main__":
451
  server_name="0.0.0.0",
452
  server_port=7860
453
  )
454
- test_btn = gr.Button("Test Model Loading")
455
- debug_output = gr.Textbox(
456
- label="Debug Output:",
457
- lines=15,
458
- interactive=False
459
- )
460
-
461
- test_btn.click(
462
- lambda: test_model_loading()[1],
463
- outputs=debug_output
464
- )
465
-
466
- conn_btn = gr.Button("Test Repository Connection")
467
- conn_output = gr.Textbox(
468
- label="Connection Test:",
469
- lines=5,
470
- interactive=False
471
- )
472
-
473
- conn_btn.click(
474
- test_connection,
475
- outputs=conn_output
476
- )
477
-
478
- with gr.Column():
479
- data_btn = gr.Button("Show Training Data")
480
- training_output = gr.Textbox(
481
- label="Training Data:",
482
- lines=20,
483
- interactive=False
484
- )
485
-
486
- data_btn.click(
487
- get_training_data,
488
- outputs=training_output
489
- )
490
 
491
  # Connect classification
492
  classify_btn.click(
 
352
  # Create interface
353
  with gr.Blocks(title="Hebrew Intent Classification - Debug") as demo:
354
 
355
+ gr.Markdown("# 🇮🇱 Hebrew Intent Classification - Debug Version 2.1 📊")
356
+ gr.Markdown("### 🔢 Version 2.1 - Training Data Display Added (Aug 12, 2025) ✅")
357
 
358
  with gr.Tab("Classification"):
359
  with gr.Row():
 
452
  server_name="0.0.0.0",
453
  server_port=7860
454
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
455
 
456
  # Connect classification
457
  classify_btn.click(