fadimari commited on
Commit
46fef04
·
verified ·
1 Parent(s): 414e3dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -166,7 +166,7 @@ def generate_final_html(clean_text, result_text, stats, show_comparison, highlig
166
  <div style="background: white; padding: 1.5rem; border-radius: 12px; text-align: center; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2); border-left: 4px solid #667eea;">
167
  <div style="font-size: 2.5rem;">🚀</div>
168
  <div style="font-size: 1.8rem; font-weight: bold; color: #667eea;">{stats.get('speed', 0)}</div>
169
- <div style="color: #666; font-size: 0.85rem; margin-top: 0.5rem;">كلمة/ثا</div>
170
  </div>
171
  <div style="background: white; padding: 1.5rem; border-radius: 12px; text-align: center; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2); border-left: 4px solid #667eea;">
172
  <div style="font-size: 2.5rem;">🎯</div>
@@ -199,7 +199,7 @@ with gr.Blocks(
199
  gr.Markdown("""
200
  # 💨 مُشَكِّل النصوص (النموذج السريع 88%)
201
  <p style='direction: rtl; color: #28a745; font-weight: bold;'>
202
- ⚠️ هذا النموذج هو الأسرع (5-10 ثوانٍ)، لكن دقته ليست كاملة.
203
  </p>
204
  """)
205
 
@@ -211,7 +211,7 @@ with gr.Blocks(
211
  with gr.Column(scale=2):
212
  input_text = gr.Textbox(
213
  label="النص",
214
- placeholder="أدخل النص العربي هنا (مشكول أو بدون تشكيل)...",
215
  lines=10,
216
  max_lines=20
217
  )
 
166
  <div style="background: white; padding: 1.5rem; border-radius: 12px; text-align: center; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2); border-left: 4px solid #667eea;">
167
  <div style="font-size: 2.5rem;">🚀</div>
168
  <div style="font-size: 1.8rem; font-weight: bold; color: #667eea;">{stats.get('speed', 0)}</div>
169
+ <div style="color: #666; font-size: 0.85rem; margin-top: 0.5rem;">كلمة/ثانية</div>
170
  </div>
171
  <div style="background: white; padding: 1.5rem; border-radius: 12px; text-align: center; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2); border-left: 4px solid #667eea;">
172
  <div style="font-size: 2.5rem;">🎯</div>
 
199
  gr.Markdown("""
200
  # 💨 مُشَكِّل النصوص (النموذج السريع 88%)
201
  <p style='direction: rtl; color: #28a745; font-weight: bold;'>
202
+ ⚠️ الدقة 88%.
203
  </p>
204
  """)
205
 
 
211
  with gr.Column(scale=2):
212
  input_text = gr.Textbox(
213
  label="النص",
214
+ placeholder="أدخل النص العربي هنا (مع تشكيل أو بدون تشكيل)...",
215
  lines=10,
216
  max_lines=20
217
  )