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