ngoctuanai commited on
Commit
86d1cc7
1 Parent(s): 9ac9544

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -0
app.py CHANGED
@@ -99,6 +99,32 @@ css = """
99
  background-color: #0056b3; /* Darken the background color on hover */
100
  }
101
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  /* Textbox Styles */
103
  .gr-textbox {
104
  border-radius: 8px;
 
99
  background-color: #0056b3; /* Darken the background color on hover */
100
  }
101
 
102
+ /* Custom CSS */
103
+ .gradio-container {
104
+ font-family: 'IBM Plex Sans', sans-serif;
105
+ max-width: 900px;
106
+ margin: auto;
107
+ padding: 2rem;
108
+ border-radius: 15px;
109
+ box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
110
+ text-align: center; /* Center the content horizontally */
111
+ }
112
+
113
+ /* Button Styles */
114
+ .gr-button {
115
+ color: white;
116
+ background-color: #007bff; /* Use a primary color for the background */
117
+ border: none;
118
+ padding: 10px 20px;
119
+ border-radius: 8px;
120
+ cursor: pointer;
121
+ transition: background-color 0.3s, color 0.3s;
122
+ }
123
+
124
+ .gr-button:hover {
125
+ background-color: #0056b3; /* Darken the background color on hover */
126
+ }
127
+
128
  /* Textbox Styles */
129
  .gr-textbox {
130
  border-radius: 8px;