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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,5 +5,6 @@ def process(file) :
5
  images = convert_from_path(file)
6
  return images
7
 
8
- demo = gr.Interface(process,gr.File(),gr.Gallery())
 
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)