Update app.py
Browse files
app.py
CHANGED
@@ -70,66 +70,65 @@ 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 |
-
|
79 |
.gradio-container {
|
80 |
-
background-color: #
|
81 |
}
|
82 |
-
|
83 |
label {
|
84 |
-
font-size:
|
85 |
-
color: #
|
86 |
font-weight: bold;
|
87 |
}
|
88 |
-
|
89 |
#military-input textarea, #military-output textarea {
|
90 |
-
background-color: #
|
91 |
color: #FFFFFF !important;
|
92 |
-
border:
|
93 |
}
|
94 |
-
|
95 |
.gr-button {
|
96 |
-
background-color: #
|
97 |
color: #FFFFFF !important;
|
98 |
-
border-radius:
|
99 |
-
font-size:
|
100 |
-
padding:
|
|
|
101 |
}
|
102 |
-
|
103 |
.gr-button:hover {
|
104 |
-
background-color: #
|
|
|
105 |
}
|
106 |
-
|
107 |
.gradio-footer {
|
108 |
-
background-color: #
|
109 |
color: #FFFFFF !important;
|
|
|
|
|
110 |
}
|
111 |
|
112 |
.gradio-title {
|
113 |
color: #FFD700 !important; /* رنگ طلایی برای عنوان */
|
114 |
-
font-size:
|
115 |
font-weight: bold;
|
116 |
text-align: center;
|
|
|
117 |
}
|
118 |
-
|
119 |
.gradio-description {
|
120 |
color: #B0B0B0 !important;
|
121 |
-
font-size:
|
122 |
text-align: center;
|
|
|
123 |
}
|
124 |
-
|
125 |
.gr-textbox input[type="text"], .gr-textbox textarea {
|
126 |
-
background-color: #
|
127 |
color: #FFFFFF !important;
|
128 |
-
border:
|
|
|
129 |
}
|
130 |
-
|
131 |
.gr-textbox input[type="text"]:focus, .gr-textbox textarea:focus {
|
132 |
-
border-color: #
|
|
|
133 |
}
|
134 |
""",
|
135 |
submit_btn="🎯 تولید گزارش",
|
|
|
70 |
description="🔰 اطلاعات خام عملیات را وارد کن تا سامانه توانا یک گزارش رسمی، حرفهای و محرمانه تولید کند.",
|
71 |
css="""
|
72 |
body {
|
73 |
+
background-color: #212121 !important; /* خاکستری تیره */
|
74 |
+
color: #E0E0E0 !important;
|
75 |
font-family: 'Vazir', sans-serif;
|
76 |
direction: rtl;
|
77 |
}
|
|
|
78 |
.gradio-container {
|
79 |
+
background-color: #212121 !important;
|
80 |
}
|
|
|
81 |
label {
|
82 |
+
font-size: 22px !important;
|
83 |
+
color: #FFD700 !important; /* طلایی برای دکمهها و متون */
|
84 |
font-weight: bold;
|
85 |
}
|
|
|
86 |
#military-input textarea, #military-output textarea {
|
87 |
+
background-color: #2E2E2E !important; /* خاکستری تیره */
|
88 |
color: #FFFFFF !important;
|
89 |
+
border: 2px solid #FFD700 !important; /* رنگ مرز طلایی */
|
90 |
}
|
|
|
91 |
.gr-button {
|
92 |
+
background-color: #FF6F00 !important; /* نارنجی ملایم */
|
93 |
color: #FFFFFF !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; /* نارنجی روشنتر برای Hover */
|
101 |
+
transform: scale(1.05);
|
102 |
}
|
|
|
103 |
.gradio-footer {
|
104 |
+
background-color: #2C2C2C !important;
|
105 |
color: #FFFFFF !important;
|
106 |
+
padding: 10px;
|
107 |
+
text-align: center;
|
108 |
}
|
109 |
|
110 |
.gradio-title {
|
111 |
color: #FFD700 !important; /* رنگ طلایی برای عنوان */
|
112 |
+
font-size: 28px;
|
113 |
font-weight: bold;
|
114 |
text-align: center;
|
115 |
+
letter-spacing: 2px;
|
116 |
}
|
|
|
117 |
.gradio-description {
|
118 |
color: #B0B0B0 !important;
|
119 |
+
font-size: 20px;
|
120 |
text-align: center;
|
121 |
+
margin-bottom: 20px;
|
122 |
}
|
|
|
123 |
.gr-textbox input[type="text"], .gr-textbox textarea {
|
124 |
+
background-color: #2C2C2C !important;
|
125 |
color: #FFFFFF !important;
|
126 |
+
border: 2px solid #FFD700 !important;
|
127 |
+
font-size: 16px;
|
128 |
}
|
|
|
129 |
.gr-textbox input[type="text"]:focus, .gr-textbox textarea:focus {
|
130 |
+
border-color: #FF6F00 !important;
|
131 |
+
outline: none;
|
132 |
}
|
133 |
""",
|
134 |
submit_btn="🎯 تولید گزارش",
|