Spaces:
Sleeping
Sleeping
crcdng
commited on
Commit
·
67aa4b2
1
Parent(s):
f338e0e
attempt fix
Browse files- Gradio_UI.py +3 -3
Gradio_UI.py
CHANGED
|
@@ -261,9 +261,9 @@ class GradioUI:
|
|
| 261 |
def launch(self, **kwargs):
|
| 262 |
import gradio as gr
|
| 263 |
|
| 264 |
-
with gr.Blocks(fill_height=True, theme='crcdng/cyber'
|
| 265 |
|
| 266 |
-
|
| 267 |
"""
|
| 268 |
<center>
|
| 269 |
<h1 style='font-family: Cyberpunk; src: url("/gradio_api/file=/Cyberpunk.otf") format("otf"); font-size: 38px;'> Your Cyber Local Time Expert </h1>
|
|
@@ -272,7 +272,7 @@ class GradioUI:
|
|
| 272 |
)
|
| 273 |
|
| 274 |
with gr.Row():
|
| 275 |
-
gr.HTML(
|
| 276 |
stored_messages = gr.State([])
|
| 277 |
file_uploads_log = gr.State([])
|
| 278 |
chatbot = gr.Chatbot(
|
|
|
|
| 261 |
def launch(self, **kwargs):
|
| 262 |
import gradio as gr
|
| 263 |
|
| 264 |
+
with gr.Blocks(fill_height=True, theme='crcdng/cyber') as demo:
|
| 265 |
|
| 266 |
+
title_html=(
|
| 267 |
"""
|
| 268 |
<center>
|
| 269 |
<h1 style='font-family: Cyberpunk; src: url("/gradio_api/file=/Cyberpunk.otf") format("otf"); font-size: 38px;'> Your Cyber Local Time Expert </h1>
|
|
|
|
| 272 |
)
|
| 273 |
|
| 274 |
with gr.Row():
|
| 275 |
+
title=gr.HTML(title_html)
|
| 276 |
stored_messages = gr.State([])
|
| 277 |
file_uploads_log = gr.State([])
|
| 278 |
chatbot = gr.Chatbot(
|