apailang commited on
Commit
43c2954
Β·
1 Parent(s): d581500

update gradio video432

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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
- 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
 
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