-
Notifications
You must be signed in to change notification settings - Fork 200
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
gradio could not display the generated images #139
Comments
Same here |
I have the same problem here. I am running the gradio app through SSH, and I can open the gradio app in my local computer's browser because of SSH port forwarding, but the app is unable to load any of the images, presumably because of some network issues. The share=True in the gradio app should have provided a public address, but it only outputs a local IP to the app. I would appreciate it if someone could solve this problem, or point me to where I can run the model directly without the gradio app. |
I also have the same problem. No error is reported but I cannot generate images for viewing. The images are displayed incorrectly. |
Update: Something is wrong with the Gradio app. I modified the code to save the generated images in the local space. FYI. Original: Lines 389 to 392 in f426883
Modified:
|
Hi,
Thanks for your incredible work!
I encountered a problem in gradio_new.py,
When I tested your code, gradio could not display the generated image, and the word "error" appeared. There was no error message in the terminal. What is the problem?
Looking for your reply.
![image](https://private-user-images.githubusercontent.com/154524452/389470897-687e8e3c-ebcb-484f-b734-f52d60d5a022.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzc1ODAsIm5iZiI6MTczOTMzNzI4MCwicGF0aCI6Ii8xNTQ1MjQ0NTIvMzg5NDcwODk3LTY4N2U4ZTNjLWViY2ItNDg0Zi1iNzM0LWY1MmQ2MGQ1YTAyMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNTE0NDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNzRlMjUwZmM3MzIxYTkzNzUxZjIwNjkxZWJmNjc2MDJhMGNlZTYxZjMxNTAxOGIzZTExMWY0ZjcyYTVkY2ZlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.cdtmiW8f2Rpi5fdeDqMAp-pDFnzksCxyHuiFj0IkRvI)
![image](https://private-user-images.githubusercontent.com/154524452/389471086-39cea02d-65f2-475a-990a-591b0ca63435.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzc1ODAsIm5iZiI6MTczOTMzNzI4MCwicGF0aCI6Ii8xNTQ1MjQ0NTIvMzg5NDcxMDg2LTM5Y2VhMDJkLTY1ZjItNDc1YS05OTBhLTU5MWIwY2E2MzQzNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwNTE0NDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wZTliNDFiMzYyZTc5OWE2NTA5OTJhYTYwZTQ5YjdmODA1ZjU5ZjAwZDMyMTRkOWVhNDA0MTYwZWIxMjQ0NmMzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.FIvtswAw5Qi639fgoI-p4CLoKMOJXBK0gvvO6VBKqVA)
The text was updated successfully, but these errors were encountered: