st0bb3n commited on
Commit
e960600
1 Parent(s): 55d2bbd

added examples

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,6 +54,6 @@ app = gr.Interface(fn=image2speech,
54
  live=True,
55
  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",
56
  outputs=[speak, read],
57
- examples=[["remotecontrol.jpg", "calculator.jpg", "cellphone.jpg"]])
58
  print("launch interface \n")
59
- app.launch()
 
54
  live=True,
55
  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",
56
  outputs=[speak, read],
57
+ examples=["remotecontrol.jpg", "calculator.jpg", "cellphone.jpg"])
58
  print("launch interface \n")
59
+ app.launch(cache_examples=True)