Spaces:
Build error
Build error
update gradio video432
Browse files
app.py
CHANGED
|
@@ -123,12 +123,12 @@ detection_model = load_model()
|
|
| 123 |
# predicted_img = predict(image_arr)
|
| 124 |
# predicted_img.save('predicted.jpg')
|
| 125 |
|
| 126 |
-
gr.Interface(fn=predict,
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
|
| 133 |
|
| 134 |
# Second interface for video prediction
|
|
|
|
| 123 |
# predicted_img = predict(image_arr)
|
| 124 |
# predicted_img.save('predicted.jpg')
|
| 125 |
|
| 126 |
+
# gr.Interface(fn=predict,
|
| 127 |
+
# inputs=gr.Image(type="pil"),
|
| 128 |
+
# outputs=gr.Image(type="pil"),
|
| 129 |
+
# title="Image Prediction Interface",
|
| 130 |
+
# description="Upload a Image for prediction",
|
| 131 |
+
# ).launch(share=True)
|
| 132 |
|
| 133 |
|
| 134 |
# Second interface for video prediction
|