Trabis commited on
Commit
2952cc7
·
verified ·
1 Parent(s): cd54a10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -5
app.py CHANGED
@@ -395,11 +395,23 @@ with gr.Blocks(css=custom_css) as iface:
395
  # elem_classes="rtl-text textbox-container"
396
  # )
397
 
398
- submit_btn = gr.Button(
399
- "إرسال السؤال",
400
- elem_classes="primary-button",
401
- variant="primary"
402
- )
 
 
 
 
 
 
 
 
 
 
 
 
403
 
404
 
405
  def on_submit(question):
 
395
  # elem_classes="rtl-text textbox-container"
396
  # )
397
 
398
+ # submit_btn = gr.Button(
399
+ # "إرسال السؤال",
400
+ # elem_classes="primary-button",
401
+ # variant="primary"
402
+ # )
403
+ /* Style du bouton */
404
+ button.primary-button {
405
+ font-family: var(--font-family-arabic) !important;
406
+ background-color: var(--accent-color) !important;
407
+ color: white !important;
408
+ padding: 0.75rem 1.5rem !important;
409
+ border-radius: var(--border-radius) !important;
410
+ font-weight: 600 !important;
411
+ font-size: 1.1rem !important;
412
+ transition: all 0.3s ease !important;
413
+ width: 200px !important; /* Réduit la largeur du bouton */
414
+ }
415
 
416
 
417
  def on_submit(question):