Spaces:
Sleeping
Sleeping
JCai
commited on
Commit
•
9a79b79
1
Parent(s):
3da9d6b
test change UI with css
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ custom_css = """
|
|
101 |
max-width: 700px;
|
102 |
margin: 0 auto;
|
103 |
padding: 20px;
|
104 |
-
background:
|
105 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
106 |
border-radius: 10px;
|
107 |
}
|
@@ -190,8 +190,9 @@ class UI_design(Base):
|
|
190 |
ui_design = UI_design()
|
191 |
|
192 |
# Define the interface
|
193 |
-
with gr.Blocks(theme=ui_design) as demo:
|
194 |
-
|
|
|
195 |
gr.Markdown(" Interact with the AI chatbot using customizable settings below.")
|
196 |
|
197 |
with gr.Row():
|
|
|
101 |
max-width: 700px;
|
102 |
margin: 0 auto;
|
103 |
padding: 20px;
|
104 |
+
background: #FFC0CB;
|
105 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
106 |
border-radius: 10px;
|
107 |
}
|
|
|
190 |
ui_design = UI_design()
|
191 |
|
192 |
# Define the interface
|
193 |
+
# with gr.Blocks(theme=ui_design) as demo:
|
194 |
+
with gr.Blocks(css=custom_css) as demo:
|
195 |
+
gr.Markdown("<h1 style='text-align: center;'> 😸 Meowthamatical AI Chatbot 😸</h1>")
|
196 |
gr.Markdown(" Interact with the AI chatbot using customizable settings below.")
|
197 |
|
198 |
with gr.Row():
|