Spaces:
Build error
Build error
Commit
•
bd6dcc5
1
Parent(s):
41a48b1
Update app.py
Browse files
app.py
CHANGED
@@ -91,8 +91,6 @@ def predict_input_image(img):
|
|
91 |
prediction=model.predict(img_4d)[0]
|
92 |
return {flower_classes[i]: float(prediction[i]) for i in range(5)}
|
93 |
|
94 |
-
! pip install gradio
|
95 |
-
|
96 |
import gradio as gr
|
97 |
def predict_input_image(img):
|
98 |
img_4d=img.reshape(-1,180,180,3)
|
|
|
91 |
prediction=model.predict(img_4d)[0]
|
92 |
return {flower_classes[i]: float(prediction[i]) for i in range(5)}
|
93 |
|
|
|
|
|
94 |
import gradio as gr
|
95 |
def predict_input_image(img):
|
96 |
img_4d=img.reshape(-1,180,180,3)
|