Getting error on the app

#2
by ysharma HF staff - opened

Great work with the paper and app release @ohayonguy , congratulations! I am unable to generate any outputs atm, do you want to look into this?

TypeError: FaceRestoreHelper.paste_faces_to_input_image() got an unexpected keyword argument 'draw_box'

Thank you @ysharma !
Ouhh I am sorry! It's something I tried that I forgot to remove. try now :)

Great, it's working now. Also, have you considered using the gr.ImageSlider as the output component instead of gr.Image()? Another recent upscaler released by JasperAI had this feature and it improves the user experience for Gradio app users: https://huggingface.co./spaces/jasperai/Flux.1-dev-Controlnet-Upscaler
image.png

@ysharma Thanks for the suggestion! I gave it a try, but it was a little buggy. So I reverted back to the standard image output. I improved quality of the interface, inspired by the project you shared. Thanks!

Awesome, thanks for the update and for your great work @ohayonguy !

ysharma changed discussion status to closed

Also, it would be great to have the gradio app available locally and linked on the Project readme. This improves the accessibility of a project, plus makes it easy for the community build on top of the project/app in their own workflows. For example, the APISR Upscaling repo: https://github.com/Kiteretsu77/APISR?tab=readme-ov-file#-gradio-fast-inference-

ysharma changed discussion status to open

@ysharma Right, nice suggestion! It requires very mild changes to the app.py file (I tested it locally and it works). Do you suggest that I add another file (e.g., app_local.py) to this space's repo, or to my project's github repo?
Thanks !!

Sign up or log in to comment