harshaUwm163
commited on
Commit
•
842b854
1
Parent(s):
91fd987
reverted back to the working state
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:
|
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: Sayan Nath </b> </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()
|