Update app.py
Browse files
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 #
|
| 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)
|