Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|
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 |
|