-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: gradio WebUI #51
Conversation
1. audio fix: explicitly specify the audio codec in `util.py`, otherwise the video is technically corrupt and doesn't play sound 2. web ui: gradio web ui 3. print the current step while running inference gradio
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the static-check issues.
Commands:
isort $(git ls-files "*.py")
pylint $(git ls-files "*.py")
and fix lint issues manually.
I tried by updating the files and getting error. Working fine without updating these files
|
@nitinmukesh this is not the web ui problem but the inference problem (which I did not touch). In my experience this type of error happens depending on which image you use. Not sure which exact problem this is, but some of the issues I've encountered are:
The solution is to try a normal jpeg/png image with a clear human face |
@AricGamma I have run the lint and all the warnings for app.py are gone. However I still see a bunch of messages for other files, but I can't really do anything about them since I didn't touch any of those files. Hope this update works. If it doesn't, let me know. |
I just saw that the workflow just ran and it failed so checked what was wrong, and I realized I only ran the second lint command. i misunderstood your comment as just running the second command (not the first one). Just ran the first lint command as well locally and confirmed the errors are gone and re-pushed. |
* WebUI + Audio Fix 1. audio fix: explicitly specify the audio codec in `util.py`, otherwise the video is technically corrupt and doesn't play sound 2. web ui: gradio web ui 3. print the current step while running inference gradio * lint * update
util.py
, otherwise the video is technically corrupt doesn't play sound, and can't be uploaded online