We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something like:
import gradio as gr r = gr.inputs.Slider(163, 255, label="R") g = gr.inputs.Slider(119, 255, label="G") b = gr.inputs.Slider(88, 255, label="B") low_thresh = gr.inputs.Slider(175/255, label="Lower Threshold") high_thresh = gr.inputs.Slider(0, 1, label="Upper Threshold") gr.Interface(fn=[display_image, display_label], inputs=[r, g, b, low_thresh, high_thresh], outputs="plot", live=False).launch(inline=False, share=True)
Where display_image, display_label each returned a plot didn't work. I got blank outputs...
display_image
display_label
The text was updated successfully, but these errors were encountered:
Upon closer inspection, it seems that perhaps each individual function needs to refresh plt.figure()?
plt.figure()
Sorry, something went wrong.
fixed
No branches or pull requests
Something like:
Where
display_image
,display_label
each returned a plot didn't work. I got blank outputs...The text was updated successfully, but these errors were encountered: