Update app.py
Browse files
app.py
CHANGED
|
@@ -181,20 +181,16 @@ def chat(message, history, uploaded_file, system_message="", max_tokens=4000, te
|
|
| 181 |
]
|
| 182 |
yield "", error_history
|
| 183 |
|
| 184 |
-
css = """
|
| 185 |
-
footer {visibility: hidden}
|
| 186 |
-
"""
|
| 187 |
|
| 188 |
-
# UI ๊ตฌ์ฑ
|
| 189 |
with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange", css=css, title="GiniGEN ๐ค") as demo:
|
| 190 |
-
gr.HTML(
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
with gr.Row():
|
| 199 |
with gr.Column(scale=2):
|
| 200 |
chatbot = gr.Chatbot(
|
|
|
|
| 181 |
]
|
| 182 |
yield "", error_history
|
| 183 |
|
|
|
|
|
|
|
|
|
|
| 184 |
|
|
|
|
| 185 |
with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange", css=css, title="GiniGEN ๐ค") as demo:
|
| 186 |
+
gr.HTML(
|
| 187 |
+
"""
|
| 188 |
+
<div style="text-align: center; max-width: 800px; margin: 0 auto;">
|
| 189 |
+
<h1 style="font-size: 3em; font-weight: 600; margin: 0.5em;">GiniGEN ๐ค</h1>
|
| 190 |
+
</div>
|
| 191 |
+
"""
|
| 192 |
+
)
|
| 193 |
+
|
| 194 |
with gr.Row():
|
| 195 |
with gr.Column(scale=2):
|
| 196 |
chatbot = gr.Chatbot(
|