Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -21,8 +21,6 @@ def classify_image(img):
|
|
21 |
#*** We have to cast to float above because KAGGLE does not return number on the answer it returns tensors, and Gradio does not deal with numpy so we have to cast to float
|
22 |
|
23 |
#|export
|
24 |
-
#import gradio as gr
|
25 |
-
import gradio as gr
|
26 |
image = gr.inputs.Image(shape=(192,192))
|
27 |
label = gr.outputs.Label()
|
28 |
examples = ['virtual.jpg','real.jpg']
|
|
|
21 |
#*** We have to cast to float above because KAGGLE does not return number on the answer it returns tensors, and Gradio does not deal with numpy so we have to cast to float
|
22 |
|
23 |
#|export
|
|
|
|
|
24 |
image = gr.inputs.Image(shape=(192,192))
|
25 |
label = gr.outputs.Label()
|
26 |
examples = ['virtual.jpg','real.jpg']
|