fierce74 commited on
Commit
e326cc8
·
1 Parent(s): e7138ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,6 +12,6 @@ def classify_img(img):
12
 
13
  image = gr.inputs.Image(shape=(192,192))
14
  label = gr.outputs.Label()
15
- examples = ['elliptical.jpg', 'irregular.jpg', 'spiral.jpg']
16
  iface = gr.Interface(fn = classify_img, inputs = image, outputs = label, title = 'Galaxy Classifier', examples = examples)
17
  iface.launch()
 
12
 
13
  image = gr.inputs.Image(shape=(192,192))
14
  label = gr.outputs.Label()
15
+ examples = [Resize(192, method = 'squish')]
16
  iface = gr.Interface(fn = classify_img, inputs = image, outputs = label, title = 'Galaxy Classifier', examples = examples)
17
  iface.launch()