idan-haimovich commited on
Commit
d06c429
1 Parent(s): c1253ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ image=gr.Image(height = 192, width = 192)
21
  label = gr.Label(num_top_classes=4)
22
  #the num_top_classes=x means one result, could change it
23
  #better_label = gr.Label()
24
- examples = ['Cuts_for_nn.jpeg', 'Fracture_examp.jpeg', 'Rash.jpeg', 'Splinter_examp.jpeg']
25
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
26
  #(resources.get(str(label))) is how to add the dictionary, add to the output somehow
27
  intf.launch(inline=False)
 
21
  label = gr.Label(num_top_classes=4)
22
  #the num_top_classes=x means one result, could change it
23
  #better_label = gr.Label()
24
+ examples = ['Cuts_for_nn.jpeg', 'Fracture_examp.jpeg', 'Rash.jpeg', 'Splinter_examp.jpeg', 'Splinter_download.jpeg', 'Cut_download.jpeg', 'Rash_download.jpeg', 'Fracture_download.jpeg']
25
  intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
26
  #(resources.get(str(label))) is how to add the dictionary, add to the output somehow
27
  intf.launch(inline=False)