M17idd commited on
Commit
da6eb68
·
verified ·
1 Parent(s): f3eb11e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -9
app.py CHANGED
@@ -71,40 +71,43 @@ demo = gr.Interface(
71
  theme="default",
72
  css="""
73
  body {
74
- background-color: #1b1f1d !important;
75
- color: #d6d6d6 !important;
76
  font-family: 'Vazir', sans-serif;
77
  direction: rtl;
78
  }
79
 
80
  .gradio-container {
81
- background-color: #1b1f1d !important;
82
  }
83
 
84
  label {
85
  font-size: 18px !important;
86
- color: #a2ff94 !important; /* سبز نظامی */
87
  font-weight: bold;
88
  }
89
 
90
  #military-input textarea, #military-output textarea {
91
- background-color: #2a2d2b !important;
92
  color: #ffffff !important;
93
- border: 1px solid #4e5d52 !important;
94
  }
95
 
96
  .gr-button {
97
- background-color: #3b593b !important;
98
  color: white !important;
99
  border-radius: 8px;
100
  }
101
 
102
  .gr-button:hover {
103
- background-color: #4e754e !important;
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__":