-
Notifications
You must be signed in to change notification settings - Fork 33
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
The HuggingFace Demo has been ignoring the images I've uploaded #1
Comments
same, wont take an uploaded image. |
Yes, please add the functionality for the user to specify their own style image without having to modify config files. |
Please consider making it possible for users to be able to use their own images as a style, and it be simple to do so, many thanks. I really like this concept though, it's great. |
To accurately reflect the style of the user image, a description of that image is necessary. Some users may struggle to write effective descriptions, we have not included this aspect in the demo. We will update the demo code to support this by utilizing BLIP2. |
That would work. User picks one of their images, BLIP2 captions it, user should get an option to modify the detected caption if need be, then the user image can be used to style any other image. |
This will be very helpful. Thank you. Looking forward to working with my own images.
|
|
Thank you very much for this update. I will give this a try when I return
from traveling.
Best wishes for continued enhancement of your excellent project.
Regards,
DM
…On Tue, Mar 26, 2024 at 8:10 AM Junho Kim ***@***.***> wrote:
- There is an issue about HF gpu, so HF is currently fixing it.
- For this reason, the features for user image styles have been
implemented, but not executed in the demo.
- In now, Try vsp_real_script.py
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZCQOIZYTUSB6XE4F55ISO3Y2FXTDAVCNFSM6AAAAABEWXVWEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGM4TCNJYHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Can you make an updated app.py for local running? I am trying to do this all local on Windows, so it doesn't matter if it does not run as a HF online demo. |
User images at HF still not working. Can you make an updated app.py for
local running for SoftologyPro?
…On Tue, Mar 26, 2024 at 9:10 AM Junho Kim ***@***.***> wrote:
- There is an issue about HF gpu, so HF is currently fixing it.
- For this reason, the features for user image styles have been
implemented, but not executed in the demo.
- In now, Try vsp_real_script.py
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZCQOIZYTUSB6XE4F55ISO3Y2FXTDAVCNFSM6AAAAABEWXVWEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGM4TCNJYHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@dhmiller123 @SoftologyPro |
I understand, but if you updated the gradio UI with that functionality it would make it easier for all users. |
We have recently updated the demo to reflect user images. However, due to an issue with the GPU provided by Hugging Face (HF), the functionality is not performing as expected. We have no choice but to wait until HF resolves this issue. |
OK, I understand that too. But, I don't want to run via huggingface. I want to run your gradio demo locally under Windows. If you do have a version of the gradio app.py that works locally then please do share. The only version of app.py I have is from before which has now been removed from your repo. |
ie the attached version app.py (renamed app.txt as py files do not seem to be attachable). Running locally. That should get around any huggingface limitations? |
demo is working now. |
I still get the same GPU error when I try to use my own image. What exactly
is working?
…On Tue, Apr 2, 2024 at 9:22 AM Junho Kim ***@***.***> wrote:
demo is working now.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZCQOI3ZITOLT5P3PAUEK6DY3KWJDAVCNFSM6AAAAABEWXVWEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZSGAZTAMJVGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
OK, when I try and run the HF demo with my own style image I get GPU timeouts. Can you provide a working version of app.py to run local? This is what I tried...
I select my own style image, set a prompt, set the outputs to 1 and click Submit.
If I then click the watercolor horse/tiger example and click Submit it works. If I then select my own style image again and click Submit it does not crash, but still uses the previous watercolor style and ignores my style image. |
OK, for those wanting to run this locally, I finally got it working after trying various package versions until these worked.
https://softologyblog.wordpress.com/2023/10/10/a-plea-to-all-python-developers/ |
https://huggingface.co/spaces/naver-ai/VisualStylePrompting
I tried 6 times.
The text was updated successfully, but these errors were encountered: