Spaces:
Runtime error
Runtime error
harshaUwm163
commited on
Commit
·
5aa655d
1
Parent(s):
6ef9453
changed the title
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ input = gr.inputs.Image(shape=(IMG_SIZE, IMG_SIZE))
|
|
55 |
output = [gr.outputs.Label()]
|
56 |
# it's good practice to pass examples, description and a title to guide users
|
57 |
examples = [["./content/examples/Frog.jpg"], ["./content/examples/Truck.jpg"], ["./content/examples/car.jpg"]]
|
58 |
-
title = "Image classification"
|
59 |
description = "Upload an image or select from examples to classify it. This is a <b>ConvMixer Model</b> trained on <b>CIFAR-10</b>. The allowed classes are - Airplane, Automobile, Bird, Cat, Deer, Dog, Frog, Horse, Ship, Truck <p><b>Space author: Harshavardhan</b> <br><b> Keras example author: <a href=\"https://twitter.com/RisingSayak\"> Sayak Paul </a> </b> <br> <a href=\"https://keras.io/examples/vision/convmixer/\">link to the original Keras example</a> </p>"
|
60 |
|
61 |
gr_interface = gr.Interface(infer, input, output, examples=examples, allow_flagging=False, analytics_enabled=False, title=title, description=description).launch(enable_queue=True, debug=False)
|
|
|
55 |
output = [gr.outputs.Label()]
|
56 |
# it's good practice to pass examples, description and a title to guide users
|
57 |
examples = [["./content/examples/Frog.jpg"], ["./content/examples/Truck.jpg"], ["./content/examples/car.jpg"]]
|
58 |
+
title = "Image classification with ConvMixer"
|
59 |
description = "Upload an image or select from examples to classify it. This is a <b>ConvMixer Model</b> trained on <b>CIFAR-10</b>. The allowed classes are - Airplane, Automobile, Bird, Cat, Deer, Dog, Frog, Horse, Ship, Truck <p><b>Space author: Harshavardhan</b> <br><b> Keras example author: <a href=\"https://twitter.com/RisingSayak\"> Sayak Paul </a> </b> <br> <a href=\"https://keras.io/examples/vision/convmixer/\">link to the original Keras example</a> </p>"
|
60 |
|
61 |
gr_interface = gr.Interface(infer, input, output, examples=examples, allow_flagging=False, analytics_enabled=False, title=title, description=description).launch(enable_queue=True, debug=False)
|