Cherryblade29 commited on
Commit
f57d388
1 Parent(s): 3181a90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,7 +48,7 @@ description = "An EfficientNetB2 feature extractor computer vision model to clas
48
  article = "Created "
49
 
50
  # Create examples list from "examples/" directory
51
- example_list = [["examples/" + example] for example in os.listdir("examples")]
52
 
53
  # Create the Gradio demo
54
  demo = gr.Interface(fn=predict, # mapping function from input to output
@@ -56,7 +56,7 @@ demo = gr.Interface(fn=predict, # mapping function from input to output
56
  outputs=[gr.Label(num_top_classes=3, label="Predictions"), # what are the outputs?
57
  gr.Number(label="Prediction time (s)")], # our fn has two outputs, therefore we have two outputs
58
  # Create examples list from "examples/" directory
59
- examples=example_list,
60
  title=title,
61
  description=description,
62
  article=article)
 
48
  article = "Created "
49
 
50
  # Create examples list from "examples/" directory
51
+ #example_list = [["examples/" + example] for example in os.listdir("examples")]
52
 
53
  # Create the Gradio demo
54
  demo = gr.Interface(fn=predict, # mapping function from input to output
 
56
  outputs=[gr.Label(num_top_classes=3, label="Predictions"), # what are the outputs?
57
  gr.Number(label="Prediction time (s)")], # our fn has two outputs, therefore we have two outputs
58
  # Create examples list from "examples/" directory
59
+ #examples=example_list,
60
  title=title,
61
  description=description,
62
  article=article)