Abubakar Abid
Abubakar Abid
Very cool, a LOT of people have asked for this! In fact, we might want to show a preview in the #gradio-discuss channel and get some quick feedback from folks...
But `all_demos` doesn't use `gr.Interface.load()`. It does use `.render()`, but I don't think that should be causing the issue: see https://github.com/gradio-app/gradio/blob/99833d506ef88f9452e516ef78db98edae8798f6/demo/all_demos/run.py#L33
Light mode looks good @aliabid94: ![image](https://user-images.githubusercontent.com/1778297/191092423-d09f9a78-dbf2-41cc-8a60-3119559595ee.png) Labels are a little hard to read in dark mode though (font should be white): Looking into the `all_demo` issue now
Ok so the problem we are seeing in the Spaces demo happens because of example caching. This issue is that the deserialization/serialization logic for `Gallery` basically uses the deserialization/serialization logic...
Looks great! However, this will not work on Spaces because of cached examples due to the serialization issue I mentioned above. @aliabid94 take a look at the fake_gan demo here:...
@aliabid94 this looks pretty good. I tested passing in: * images without captions * images whose caption was `None` * images with captions * mix of such images And in...
> Does spark also use hashes to distinguish between multiple apps? Actually after looking into this, I take that back. I'm not sure if Spark uses this approach. But the...
> Can you see other approaches that libraries have used? How does streamlit handle multiple apps? Streamlit starts with 8501 and increments from there (8502, 8503). But keep in mind...
Yes, so the share links would become subpaths, but the parent domain would be unique to a single machine. So it would be something like this. 1. You create your...
Good point about UX, we could choose prettier hashes perhaps? For example, I've seen a common pattern being 3 common words separated by hyphens: `1234.gradio.app/avocado-metal-blue`