Redmind commited on
Commit
f68e394
·
verified ·
1 Parent(s): e9880ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -558,7 +558,7 @@ def answer_question(user_question, chatbot, audio=None):
558
  img.save(buffered, format="PNG")
559
  img_str = base64.b64encode(buffered.getvalue()).decode("utf-8")
560
 
561
- img = f'<img src="data:image/png;base64,{img_str}" style="width:400px; height:400px;">'
562
  # image = gr.Image(value=img_str)
563
  chatbot.append((user_question, img))
564
 
 
558
  img.save(buffered, format="PNG")
559
  img_str = base64.b64encode(buffered.getvalue()).decode("utf-8")
560
 
561
+ img = f'<img src="data:image/png;base64,{img_str}" style="width:450px; height:400px;">'
562
  # image = gr.Image(value=img_str)
563
  chatbot.append((user_question, img))
564