Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,6 @@ body {
|
|
108 |
background-color: #f8f8f8;
|
109 |
font-family: 'Helvetica Neue', Arial, sans-serif;
|
110 |
}
|
111 |
-
|
112 |
.title {
|
113 |
font-size: 2.6rem;
|
114 |
font-weight: 700;
|
@@ -116,7 +115,6 @@ body {
|
|
116 |
text-align: center;
|
117 |
margin-bottom: 1.5rem;
|
118 |
}
|
119 |
-
|
120 |
.container {
|
121 |
max-width: 800px;
|
122 |
margin: auto;
|
@@ -125,7 +123,6 @@ body {
|
|
125 |
border-radius: 10px;
|
126 |
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
|
127 |
}
|
128 |
-
|
129 |
.button {
|
130 |
background-color: #ff6347;
|
131 |
color: white;
|
@@ -138,11 +135,9 @@ body {
|
|
138 |
margin-top: 1.5rem;
|
139 |
width: 100%;
|
140 |
}
|
141 |
-
|
142 |
.button:hover {
|
143 |
background-color: #ff4500;
|
144 |
}
|
145 |
-
|
146 |
.gradio-interface .gr-textbox {
|
147 |
margin-bottom: 1.5rem;
|
148 |
width: 100%;
|
@@ -153,7 +148,6 @@ body {
|
|
153 |
background-color: #f9f9f9;
|
154 |
color: #333;
|
155 |
}
|
156 |
-
|
157 |
.gradio-interface .gr-radio, .gradio-interface .gr-dropdown {
|
158 |
margin-bottom: 1.5rem;
|
159 |
width: 100%;
|
@@ -164,7 +158,6 @@ body {
|
|
164 |
font-size: 1rem;
|
165 |
color: #333;
|
166 |
}
|
167 |
-
|
168 |
.gradio-interface .gr-textbox[readonly] {
|
169 |
background-color: #f5f5f5;
|
170 |
color: #333;
|
@@ -202,4 +195,4 @@ body {
|
|
202 |
submit_button.click(fn=process_input, inputs=[prompt, model_name, user_type], outputs=response)
|
203 |
|
204 |
if __name__ == "__main__":
|
205 |
-
demo.launch(server_name="0.0.0.0", share=True, debug=True)
|
|
|
108 |
background-color: #f8f8f8;
|
109 |
font-family: 'Helvetica Neue', Arial, sans-serif;
|
110 |
}
|
|
|
111 |
.title {
|
112 |
font-size: 2.6rem;
|
113 |
font-weight: 700;
|
|
|
115 |
text-align: center;
|
116 |
margin-bottom: 1.5rem;
|
117 |
}
|
|
|
118 |
.container {
|
119 |
max-width: 800px;
|
120 |
margin: auto;
|
|
|
123 |
border-radius: 10px;
|
124 |
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
|
125 |
}
|
|
|
126 |
.button {
|
127 |
background-color: #ff6347;
|
128 |
color: white;
|
|
|
135 |
margin-top: 1.5rem;
|
136 |
width: 100%;
|
137 |
}
|
|
|
138 |
.button:hover {
|
139 |
background-color: #ff4500;
|
140 |
}
|
|
|
141 |
.gradio-interface .gr-textbox {
|
142 |
margin-bottom: 1.5rem;
|
143 |
width: 100%;
|
|
|
148 |
background-color: #f9f9f9;
|
149 |
color: #333;
|
150 |
}
|
|
|
151 |
.gradio-interface .gr-radio, .gradio-interface .gr-dropdown {
|
152 |
margin-bottom: 1.5rem;
|
153 |
width: 100%;
|
|
|
158 |
font-size: 1rem;
|
159 |
color: #333;
|
160 |
}
|
|
|
161 |
.gradio-interface .gr-textbox[readonly] {
|
162 |
background-color: #f5f5f5;
|
163 |
color: #333;
|
|
|
195 |
submit_button.click(fn=process_input, inputs=[prompt, model_name, user_type], outputs=response)
|
196 |
|
197 |
if __name__ == "__main__":
|
198 |
+
demo.launch(server_name="0.0.0.0", share=True, debug=True)
|