NoCrypt commited on
Commit
61ba56b
1 Parent(s): fc1cddb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -93,9 +93,6 @@ def predict(image: PIL.Image.Image, score_threshold: float,
93
  def main():
94
  args = parse_args()
95
 
96
- image_paths = load_sample_image_paths()
97
- examples = [[path.as_posix(), args.score_threshold]
98
- for path in image_paths]
99
 
100
  model = load_model()
101
  labels = load_labels()
@@ -114,7 +111,6 @@ def main():
114
  label='Score Threshold'),
115
  ],
116
  gr.outputs.Textbox(label='Output'),
117
- examples=examples,
118
  title=TITLE,
119
  description=DESCRIPTION,
120
  theme=args.theme,
 
93
  def main():
94
  args = parse_args()
95
 
 
 
 
96
 
97
  model = load_model()
98
  labels = load_labels()
 
111
  label='Score Threshold'),
112
  ],
113
  gr.outputs.Textbox(label='Output'),
 
114
  title=TITLE,
115
  description=DESCRIPTION,
116
  theme=args.theme,