Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 = [
|
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()
|