Spaces:
Runtime error
Runtime error
added examples
Browse files
app.py
CHANGED
@@ -41,7 +41,8 @@ app = gr.Interface(fn=image2speech,
|
|
41 |
inputs=camera,
|
42 |
live=True,
|
43 |
description="Takes a snapshot of an object, identifies it, and then tell you what it is. \n Intended use is to help the visually impaired. Models and dataset used is listed on the linked models and dataset",
|
44 |
-
outputs=[speak, read]
|
45 |
-
examples=
|
|
|
46 |
print("launch interface \n")
|
47 |
app.launch(cache_examples=True)
|
|
|
41 |
inputs=camera,
|
42 |
live=True,
|
43 |
description="Takes a snapshot of an object, identifies it, and then tell you what it is. \n Intended use is to help the visually impaired. Models and dataset used is listed on the linked models and dataset",
|
44 |
+
outputs=[speak, read],
|
45 |
+
examples=["remotecontrol.jpg", "calculator.jpg", "cellphone.jpg"])
|
46 |
+
|
47 |
print("launch interface \n")
|
48 |
app.launch(cache_examples=True)
|