Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
not-lain
/
utils
like
4
Sleeping
App
Files
Files
Community
da5e36a
utils
/
app.py
not-lain
Create app.py
4b0678e
verified
2 months ago
raw
Copy download link
history
blame
210 Bytes
import
gradio
as
gr
from
pdf2image
import
convert_from_path
def
process
(
file
) :
images = convert_from_path(file)
return
images
!
demo = gr.Interface(process,gr.File(),gr.Gallery())
demo.launch(debug=
True
)