-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
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
How to update a label while a method function call is running #7419
Comments
Hi @FurkanGozukara I think you have the following options:
Will close because I don't think this is a bug in gradio - happy to discuss this further! Thanks! |
@freddyaboulton can you give me how to use progress according to my script? thank you so much |
@freddyaboulton i made it work like this but still not working as expected can you help?
it is shown like this |
@abidlabs can you also help me with this issue if possible? thank you |
Sure @FurkanGozukara happy to help. Have you seen this demo: https://github.com/gradio-app/gradio/blob/main/demo/progress/run.py It shows how to use |
awesome made it work that demos was great. how do we reach such demos for other stuff? |
All of our latest demos are here: https://github.com/gradio-app/gradio/tree/main/demo (someone needs to feed these into a LLM + RAG) |
Asking GPT-4 but all answers it gives me is wrong. This drives me crazy but cant be helped.
What I want is so simple.
I want to update a gr.label or whatever that is possible while a function is running
E.g. like below. so meanwhile batch_caption_images is running, i will update status label and display to the user the status of the operation instead of looking at the CMD window
Gradio latest version
status_label = gr.Label()
The text was updated successfully, but these errors were encountered: