File size: 210 Bytes
4b0678e
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
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)