Spaces:
Runtime error
Runtime error
DiamondYin
commited on
Commit
·
47120b4
1
Parent(s):
0cb62e5
Update app.py
Browse files
app.py
CHANGED
@@ -103,11 +103,11 @@ def get_response(history, audio_input):
|
|
103 |
|
104 |
# buzz_usr_proc = Thread(target=idle_timer)
|
105 |
|
106 |
-
with gr.Blocks(css = """#col_image{width:800px; height:
|
107 |
with gr.Column():
|
108 |
output_html = gr.HTML(label="Felix's Voice", value=AUDIO_HTML)
|
109 |
output_html.visible = False
|
110 |
-
image1= gr.Image("assets/NPCtest1.png",shape=(800,
|
111 |
#assistant_character = gr.HTML(label=None, value=CHAR_IDLE_HTML, show_label=False)
|
112 |
#with gr.Column(scale=0.1):
|
113 |
chatbot = gr.Chatbot(label='Send a text or a voice input').style(height=285)
|
|
|
103 |
|
104 |
# buzz_usr_proc = Thread(target=idle_timer)
|
105 |
|
106 |
+
with gr.Blocks(css = """#col_image{width:800px; height:800px; margin-left: auto; margin-right: auto;}""") as demo:
|
107 |
with gr.Column():
|
108 |
output_html = gr.HTML(label="Felix's Voice", value=AUDIO_HTML)
|
109 |
output_html.visible = False
|
110 |
+
image1= gr.Image("assets/NPCtest1.png",shape=(800, 800),elem_id = "col_image")
|
111 |
#assistant_character = gr.HTML(label=None, value=CHAR_IDLE_HTML, show_label=False)
|
112 |
#with gr.Column(scale=0.1):
|
113 |
chatbot = gr.Chatbot(label='Send a text or a voice input').style(height=285)
|