DiamondYin commited on
Commit
dda31fb
·
1 Parent(s): 12b9d41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -103,12 +103,11 @@ def get_response(history, audio_input):
103
 
104
  # buzz_usr_proc = Thread(target=idle_timer)
105
 
106
- with gr.Blocks(title="Your Assistance Pal!") as demo:
107
-
108
  with gr.Row():
109
  output_html = gr.HTML(label="Felix's Voice", value=AUDIO_HTML)
110
  output_html.visible = False
111
- image1= gr.Image("assets/NPCtest1.png").style(width="500px")
112
  #assistant_character = gr.HTML(label=None, value=CHAR_IDLE_HTML, show_label=False)
113
  with gr.Column(scale=0.1):
114
  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(title="Your Assistance Pal!",css = """#col_image{width: 650px; margin-left: auto; margin-right: auto;}""") as demo:
 
107
  with gr.Row():
108
  output_html = gr.HTML(label="Felix's Voice", value=AUDIO_HTML)
109
  output_html.visible = False
110
+ image1= gr.Image("assets/NPCtest1.png",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)