atatavana commited on
Commit
d8aa7b1
·
1 Parent(s): 1889112

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -93,7 +93,7 @@ css = """.output_image, .input_image {height: 600px !important}"""
93
  #examples = [["461BHH69.PDF"],["AP-481-RF.PDF"],["DP-095-ML.PDF"],["DQ-231-LL.PDF"],["FK-941-ET.PDF"], ["FL-078-NH.PDF"]
94
  # ,["14ZZ69.PDF"],["74BCA69.PDF"],["254BEG69.PDF"],["761BJQ69.PDF"],["AB-486-EH.PDF"],["AZ-211-ZA.PDF"], ["CY-073-YV.PDF"]]
95
  # ["744BJQ69.PDF"], ['tarros_2.jpg'],
96
-
97
  iface = gr.Interface(fn=completepreprocess,
98
  #inputs=gr.inputs.Image(type="pil",optional=True,label="upload file"),
99
  inputs=[
@@ -104,7 +104,7 @@ iface = gr.Interface(fn=completepreprocess,
104
  outputs=[gr.outputs.Image(type="pil", label="annotated image"),"dataframe"] ,
105
  title=title,
106
  description=description,
107
- #examples=examples,
108
  css=css,
109
  analytics_enabled = True, enable_queue=True)
110
 
 
93
  #examples = [["461BHH69.PDF"],["AP-481-RF.PDF"],["DP-095-ML.PDF"],["DQ-231-LL.PDF"],["FK-941-ET.PDF"], ["FL-078-NH.PDF"]
94
  # ,["14ZZ69.PDF"],["74BCA69.PDF"],["254BEG69.PDF"],["761BJQ69.PDF"],["AB-486-EH.PDF"],["AZ-211-ZA.PDF"], ["CY-073-YV.PDF"]]
95
  # ["744BJQ69.PDF"], ['tarros_2.jpg'],
96
+ examples = [['3.jpg']]
97
  iface = gr.Interface(fn=completepreprocess,
98
  #inputs=gr.inputs.Image(type="pil",optional=True,label="upload file"),
99
  inputs=[
 
104
  outputs=[gr.outputs.Image(type="pil", label="annotated image"),"dataframe"] ,
105
  title=title,
106
  description=description,
107
+ examples=examples,
108
  css=css,
109
  analytics_enabled = True, enable_queue=True)
110