harshaUwm163 commited on
Commit ·
98b29db
1
Parent(s): 32cdb28
testing desciption 2
Browse files60 unmodified lines6162636465666760 unmodified lines# it's good practice to pass examples, description and a title to guide usersexamples = [["./content/examples/Frog.jpg"], ["./content/examples/Truck.jpg"]]title = "Image classification"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\n Space author: Harshavardhan \n Keras example author: Sayan Nath <p>I really like using Markdown.</p>"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)gr_interface.launch()60 unmodified lines6162636465666760 unmodified lines# it's good practice to pass examples, description and a title to guide usersexamples = [["./content/examples/Frog.jpg"], ["./content/examples/Truck.jpg"]]title = "Image classification"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>Space author: Harshavardhan Keras example author: Sayan Nath <\p>"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)gr_interface.launch()
app.py+1-1