Replace gr.Files with gr.Image

#8
by hysts HF staff - opened

(discussed in the internal collab channel)
This PR replaces gr.Files with gr.Image so that users can upload image from their phones.

Sorry, but I accidentally applied formatters. As it's hard to roll it back to the unformatted code, I just decided to apply the formatter to the original files so the actual changes can be checked easily.
This commit is the actual change I made, so can you review it?

hysts changed pull request status to open

I just added cached example files too as it seems caching examples at start on ZeroGPU sometimes leads to an error.

wanghaofan changed pull request status to merged

Sign up or log in to comment