arham061 commited on
Commit
40ea620
1 Parent(s): 4b26ce8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ from fastai.vision.all import *
2
  import gradio as gr
3
  import cv2
4
 
5
- __all__ = ['is_rock', 'learn', 'classify_image', 'categories', 'image', 'label', 'examples', 'intf']
6
 
7
  def is_rock(x): return x[0].issuper()
8
 
@@ -26,5 +26,5 @@ image = gr.inputs.Image(shape=(192,192))
26
  label = gr.outputs.Label()
27
  examples = ['rock.jpg', 'paper.jpg', 'scissor.jpg']
28
 
29
- intf = gr.Interface(fn = classify_images, inputs = get_webcam_imageimage, outputs = label, examples = examples)
30
  intf.launch(inline=False)
 
2
  import gradio as gr
3
  import cv2
4
 
5
+ __all__ = ['is_rock', 'learn', 'classify_images', 'get_webcam_image' 'categories', 'image', 'label', 'examples', 'intf']
6
 
7
  def is_rock(x): return x[0].issuper()
8
 
 
26
  label = gr.outputs.Label()
27
  examples = ['rock.jpg', 'paper.jpg', 'scissor.jpg']
28
 
29
+ intf = gr.Interface(fn = classify_images, inputs = get_webcam_image, outputs = label, examples = examples)
30
  intf.launch(inline=False)