Closed aliabid94 closed 3 weeks ago
• | Name | Status | URL |
---|---|---|---|
Spaces | Spaces preview | ||
Website | Website preview | ||
:unicorn: | Changes | Details |
Install Gradio from this PR
pip install https://gradio-builds.s3.amazonaws.com/c03269a6da2cb3e12a7716dcab2115655463867e/gradio-4.33.0-py3-none-any.whl
Install Gradio Python Client from this PR
pip install "gradio-client @ git+https://github.com/gradio-app/gradio@c03269a6da2cb3e12a7716dcab2115655463867e#subdirectory=client/python"
Install Gradio JS Client from this PR
npm install https://gradio-builds.s3.amazonaws.com/c03269a6da2cb3e12a7716dcab2115655463867e/gradio-client-1.1.0.tgz
Package | Version |
---|---|
gradio |
minor |
Adds a monitoring dashboard to Gradio apps that can be used to view usage
Maintainers or the PR author can modify the PR title to modify this entry.
2 high-level points @aliabid94:
/analytics
which prints a secret token, I think it would make more sense to have a parameter in launch()
called enable_monitoring
which if set to True
, prints the url to the dashboard on launch. monitoring
) because analytics_enabled
refers to whether we are collecting telemetry or not and I think that would be confusing to usersInstead of going to /analytics which prints a secret token, I think it would make more sense to have a parameter in launch() called enable_monitoring which if set to True, prints the url to the dashboard on launch.
Disagree, because if your app prints a lot to console, you will lose the URL deep into console history. Also people will forget to enable it before launching an app, and then lose access to analytics.
Ok I see what you mean. I still think we should another word than "analytics" like "monitoring"
changed to "monitoring"
Nit: got this printed in the console:
/Users/abidlabs/dev/gradio-repos/gradio/gradio/analytics_dashboard.py:63: FutureWarning: 'T' is deprecated and will be removed in a future version, please use 'min' instead.
This PR adds an analytics dashboard to show all requests processed by the queue and their status. To visit this dashboard, go to the
/analytics
endpoint. This print a secret URL to the console that you can visit to see the actual analytics dashboard.