Update app.py
Browse files20 unmodified lines21222324252620 unmodified lines])def predict(img):return img.rotate(45)gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs="image").launch(debug=True)20 unmodified lines2122232425262720 unmodified lines])def predict(img):img = img.convert("RGB")return img.rotate(45)gr.Interface(fn=predict, inputs=gr.Image(type="pil"), outputs="image").launch(debug=True)
app.py+1