Update app.py
Browse files
app.py
CHANGED
|
@@ -58,9 +58,10 @@ def process_audio(audio):
|
|
| 58 |
return f"خطأ في معالجة الصوت: {str(e)}", "", None
|
| 59 |
|
| 60 |
# Gradio interface
|
| 61 |
-
with gr.Blocks() as demo:
|
| 62 |
gr.Markdown("# Kemo Chat - مساعد ذكي متعدد الوسائط")
|
| 63 |
gr.Markdown("تفاعل بالنصوص، الصور، أو الصوت. يدعم العربية والإنجليزية.")
|
|
|
|
| 64 |
|
| 65 |
with gr.Tab("المحادثة النصية"):
|
| 66 |
text_input = gr.Textbox(label="اكتب سؤالك أو رسالتك")
|
|
|
|
| 58 |
return f"خطأ في معالجة الصوت: {str(e)}", "", None
|
| 59 |
|
| 60 |
# Gradio interface
|
| 61 |
+
with gr.Blocks(css=".gradio-container {background-color: #f0f4f8; font-family: Arial; color: #333; padding: 20px;} .textbox {border-radius: 5px;}") as demo:
|
| 62 |
gr.Markdown("# Kemo Chat - مساعد ذكي متعدد الوسائط")
|
| 63 |
gr.Markdown("تفاعل بالنصوص، الصور، أو الصوت. يدعم العربية والإنجليزية.")
|
| 64 |
+
gr.Markdown("⏳ جاري تحميل النماذج، برجاء الانتظار...", visible=True)
|
| 65 |
|
| 66 |
with gr.Tab("المحادثة النصية"):
|
| 67 |
text_input = gr.Textbox(label="اكتب سؤالك أو رسالتك")
|