Batnini commited on
Commit
78270e9
·
verified ·
1 Parent(s): 293b446

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ with gr.Blocks(title="الأدوات العربية") as app:
24
  surah_dropdown = gr.Dropdown(
25
  label="اختر سورة",
26
  choices=quran.get_surahs(),
27
- value=1 # Default to Al-Fatiha
28
  )
29
  show_btn = gr.Button("عرض السورة")
30
  quran_output = gr.Textbox(label="النص القرآني", lines=15)
 
24
  surah_dropdown = gr.Dropdown(
25
  label="اختر سورة",
26
  choices=quran.get_surahs(),
27
+ value=quran.get_surahs()[0][1] # Set default to first surah's ID
28
  )
29
  show_btn = gr.Button("عرض السورة")
30
  quran_output = gr.Textbox(label="النص القرآني", lines=15)