Update app.py
Browse files
app.py
CHANGED
@@ -71,40 +71,43 @@ demo = gr.Interface(
|
|
71 |
theme="default",
|
72 |
css="""
|
73 |
body {
|
74 |
-
background-color: #
|
75 |
-
color: #
|
76 |
font-family: 'Vazir', sans-serif;
|
77 |
direction: rtl;
|
78 |
}
|
79 |
|
80 |
.gradio-container {
|
81 |
-
background-color: #
|
82 |
}
|
83 |
|
84 |
label {
|
85 |
font-size: 18px !important;
|
86 |
-
color: #
|
87 |
font-weight: bold;
|
88 |
}
|
89 |
|
90 |
#military-input textarea, #military-output textarea {
|
91 |
-
background-color: #
|
92 |
color: #ffffff !important;
|
93 |
-
border: 1px solid #
|
94 |
}
|
95 |
|
96 |
.gr-button {
|
97 |
-
background-color: #
|
98 |
color: white !important;
|
99 |
border-radius: 8px;
|
100 |
}
|
101 |
|
102 |
.gr-button:hover {
|
103 |
-
background-color: #
|
104 |
}
|
105 |
-
"""
|
|
|
|
|
106 |
)
|
107 |
|
|
|
108 |
demo.launch()
|
109 |
|
110 |
if __name__ == "__main__":
|
|
|
71 |
theme="default",
|
72 |
css="""
|
73 |
body {
|
74 |
+
background-color: #3e442c !important; /* سبز زیتونی */
|
75 |
+
color: #f0f0f0 !important;
|
76 |
font-family: 'Vazir', sans-serif;
|
77 |
direction: rtl;
|
78 |
}
|
79 |
|
80 |
.gradio-container {
|
81 |
+
background-color: #3e442c !important;
|
82 |
}
|
83 |
|
84 |
label {
|
85 |
font-size: 18px !important;
|
86 |
+
color: #d4ffcc !important; /* روشنتر برای سبز زیتونی */
|
87 |
font-weight: bold;
|
88 |
}
|
89 |
|
90 |
#military-input textarea, #military-output textarea {
|
91 |
+
background-color: #4a5033 !important;
|
92 |
color: #ffffff !important;
|
93 |
+
border: 1px solid #6e7a4e !important;
|
94 |
}
|
95 |
|
96 |
.gr-button {
|
97 |
+
background-color: #5e6d3b !important;
|
98 |
color: white !important;
|
99 |
border-radius: 8px;
|
100 |
}
|
101 |
|
102 |
.gr-button:hover {
|
103 |
+
background-color: #768c47 !important;
|
104 |
}
|
105 |
+
""",
|
106 |
+
submit_btn="🎯 تولید گزارش",
|
107 |
+
clear_btn="🗑️ پاک کردن"
|
108 |
)
|
109 |
|
110 |
+
|
111 |
demo.launch()
|
112 |
|
113 |
if __name__ == "__main__":
|