Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def predict(image):
|
|
37 |
confidence = np.max(predictions)
|
38 |
return {class_names[predicted_class]: float(confidence)}
|
39 |
|
40 |
-
# Create a Gradio
|
41 |
input_image = gr.Image()
|
42 |
output_text = gr.Textbox(label="Predicted Value")
|
43 |
interface = gr.Interface(fn=predict,
|
|
|
37 |
confidence = np.max(predictions)
|
38 |
return {class_names[predicted_class]: float(confidence)}
|
39 |
|
40 |
+
# Create a Gradio interfac
|
41 |
input_image = gr.Image()
|
42 |
output_text = gr.Textbox(label="Predicted Value")
|
43 |
interface = gr.Interface(fn=predict,
|