Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
2 |
|
3 |
|
4 |
def image_predict (image_pt):
|
@@ -33,4 +36,4 @@ def image_predict (image_pt):
|
|
33 |
|
34 |
|
35 |
myApp = gr.Interface(fn=image_predict, inputs="image", outputs="label")
|
36 |
-
myApp.launch()
|
|
|
1 |
import gradio as gr
|
2 |
+
import numpy as np
|
3 |
+
from tensorflow.keras.models import load_model
|
4 |
+
import cv2
|
5 |
|
6 |
|
7 |
def image_predict (image_pt):
|
|
|
36 |
|
37 |
|
38 |
myApp = gr.Interface(fn=image_predict, inputs="image", outputs="label")
|
39 |
+
myApp.launch()#share=True
|