Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def predict_regression(image):
|
|
| 29 |
# Create Gradio interface
|
| 30 |
input_image = gr.Image()
|
| 31 |
output_text = gr.Textbox(label="Predicted Value")
|
| 32 |
-
interface = gr.Interface(fn=
|
| 33 |
inputs=input_image,
|
| 34 |
outputs=gr.Label(),
|
| 35 |
examples=["images/abra.gif", "images/Aerodactyl.png", "images/Alakazam.png", "images/arbok.jpg", "images/Arcanine.png" ],
|
|
|
|
| 29 |
# Create Gradio interface
|
| 30 |
input_image = gr.Image()
|
| 31 |
output_text = gr.Textbox(label="Predicted Value")
|
| 32 |
+
interface = gr.Interface(fn=predict_regression,
|
| 33 |
inputs=input_image,
|
| 34 |
outputs=gr.Label(),
|
| 35 |
examples=["images/abra.gif", "images/Aerodactyl.png", "images/Alakazam.png", "images/arbok.jpg", "images/Arcanine.png" ],
|