not-lain commited on
Commit
d08c253
1 Parent(s): f427899

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)