How to show the uploaded image using put_image? #58
HrithikShah
started this conversation in
General
Replies: 1 comment
-
So you need: img=file_upload("Please upload",accept="image/*")
put_image(img['content']) Document: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
here is my code.
from pywebio.input import *
from pywebio.output import *
import PIL.Image as Image
import numpy as np
def ppic():
img=file_upload("Please upload",accept="image/*")
if name=='main':
ppic()
Beta Was this translation helpful? Give feedback.
All reactions