xelpmocAI commited on
Commit
3c2e156
·
verified ·
1 Parent(s): 1de8180

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def process_document(image):
109
 
110
  demo = gr.Interface(
111
  fn=process_document,
112
- inputs=gr.Image(type="jpg"),
113
  outputs="json",
114
  title="PaySlip_Demo_Model",
115
  # article=article,
 
109
 
110
  demo = gr.Interface(
111
  fn=process_document,
112
+ inputs=gr.Image(type="pil"),
113
  outputs="json",
114
  title="PaySlip_Demo_Model",
115
  # article=article,