harshaUwm163
commited on
Commit
·
22115ef
1
Parent(s):
01146f5
changed the text on the keras example link
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ output = [gr.outputs.Label()]
|
|
61 |
# it's good practice to pass examples, description and a title to guide users
|
62 |
examples = [["./content/examples/Frog.jpg"], ["./content/examples/Truck.jpg"]]
|
63 |
title = "Image classification"
|
64 |
-
description = "Upload an image or select from examples to classify it. 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/sayannath2350\"> Sayan Nath </a> </b> <br> <a href=\"https://keras.io/examples/vision/cutmix/\">link to the
|
65 |
|
66 |
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)
|
67 |
gr_interface.launch()
|
|
|
61 |
# it's good practice to pass examples, description and a title to guide users
|
62 |
examples = [["./content/examples/Frog.jpg"], ["./content/examples/Truck.jpg"]]
|
63 |
title = "Image classification"
|
64 |
+
description = "Upload an image or select from examples to classify it. 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/sayannath2350\"> Sayan Nath </a> </b> <br> <a href=\"https://keras.io/examples/vision/cutmix/\">link to the original Keras example</a> </p>"
|
65 |
|
66 |
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)
|
67 |
gr_interface.launch()
|