Update app.py
Browse files
app.py
CHANGED
@@ -70,53 +70,50 @@ demo = gr.Interface(
|
|
70 |
description="🔰 اطلاعات خام عملیات را وارد کن تا سامانه توانا یک گزارش رسمی، حرفهای و محرمانه تولید کند.",
|
71 |
css="""
|
72 |
body {
|
73 |
-
background-color: #
|
74 |
-
color: #
|
75 |
font-family: 'Vazir', sans-serif;
|
76 |
direction: rtl;
|
77 |
}
|
78 |
.gradio-container {
|
79 |
-
background-color: #
|
80 |
}
|
81 |
label {
|
82 |
font-size: 22px !important;
|
83 |
-
color: #
|
84 |
font-weight: bold;
|
85 |
}
|
86 |
#military-input textarea, #military-output textarea {
|
87 |
-
background-color: #
|
88 |
-
color: #
|
89 |
-
border: 2px solid #
|
90 |
}
|
91 |
.gr-button {
|
92 |
-
background-color: #
|
93 |
-
color: #
|
94 |
border-radius: 12px;
|
95 |
font-size: 18px;
|
96 |
padding: 14px;
|
97 |
transition: all 0.3s ease;
|
98 |
}
|
99 |
.gr-button:hover {
|
100 |
-
background-color: #FF9800 !important;
|
101 |
transform: scale(1.05);
|
102 |
}
|
103 |
.gradio-footer {
|
104 |
display: none !important;
|
105 |
}
|
106 |
|
107 |
-
|
108 |
.gr-textbox input[type="text"], .gr-textbox textarea {
|
109 |
-
background-color: #
|
110 |
-
color: #
|
111 |
-
border: 2px solid #
|
112 |
font-size: 16px;
|
113 |
}
|
114 |
.gr-textbox input[type="text"]:focus, .gr-textbox textarea:focus {
|
115 |
border-color: #FF6F00 !important;
|
116 |
outline: none;
|
117 |
}
|
118 |
-
|
119 |
-
|
120 |
""",
|
121 |
submit_btn="🎯 تولید گزارش",
|
122 |
clear_btn="🗑️ پاک کردن"
|
|
|
70 |
description="🔰 اطلاعات خام عملیات را وارد کن تا سامانه توانا یک گزارش رسمی، حرفهای و محرمانه تولید کند.",
|
71 |
css="""
|
72 |
body {
|
73 |
+
background-color: #00b2a9 !important; /* رنگ بکگراند جدید */
|
74 |
+
color: #292a59 !important; /* رنگ متن جدید */
|
75 |
font-family: 'Vazir', sans-serif;
|
76 |
direction: rtl;
|
77 |
}
|
78 |
.gradio-container {
|
79 |
+
background-color: #00b2a9 !important;
|
80 |
}
|
81 |
label {
|
82 |
font-size: 22px !important;
|
83 |
+
color: #eeeeee !important; /* رنگ سفید برای برچسبها */
|
84 |
font-weight: bold;
|
85 |
}
|
86 |
#military-input textarea, #military-output textarea {
|
87 |
+
background-color: #00b2a9 !important;
|
88 |
+
color: #292a59 !important;
|
89 |
+
border: 2px solid #e4883c !important; /* رنگ جدید برای مرز */
|
90 |
}
|
91 |
.gr-button {
|
92 |
+
background-color: #e4883c !important; /* رنگ دکمه جدید */
|
93 |
+
color: #eeeeee !important;
|
94 |
border-radius: 12px;
|
95 |
font-size: 18px;
|
96 |
padding: 14px;
|
97 |
transition: all 0.3s ease;
|
98 |
}
|
99 |
.gr-button:hover {
|
100 |
+
background-color: #FF9800 !important;
|
101 |
transform: scale(1.05);
|
102 |
}
|
103 |
.gradio-footer {
|
104 |
display: none !important;
|
105 |
}
|
106 |
|
|
|
107 |
.gr-textbox input[type="text"], .gr-textbox textarea {
|
108 |
+
background-color: #292a59 !important; /* رنگ پسزمینه ورودیها */
|
109 |
+
color: #eeeeee !important; /* رنگ متن ورودیها */
|
110 |
+
border: 2px solid #e4883c !important; /* رنگ مرز ورودیها */
|
111 |
font-size: 16px;
|
112 |
}
|
113 |
.gr-textbox input[type="text"]:focus, .gr-textbox textarea:focus {
|
114 |
border-color: #FF6F00 !important;
|
115 |
outline: none;
|
116 |
}
|
|
|
|
|
117 |
""",
|
118 |
submit_btn="🎯 تولید گزارش",
|
119 |
clear_btn="🗑️ پاک کردن"
|