Update app.py
Browse files
app.py
CHANGED
@@ -5,5 +5,6 @@ def process(file) :
|
|
5 |
images = convert_from_path(file)
|
6 |
return images
|
7 |
|
8 |
-
|
|
|
9 |
demo.launch(debug=True)
|
|
|
5 |
images = convert_from_path(file)
|
6 |
return images
|
7 |
|
8 |
+
pdf_to_img = gr.Interface(process,gr.File(),gr.Gallery())
|
9 |
+
demo = gr.TabbedInterface([pdf_to_img],["pdf_to_img"])
|
10 |
demo.launch(debug=True)
|