Skip to content
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

Gradio Status Page #3331

Merged
merged 6 commits into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ By [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3297](https://git

## Documentation Changes:
- Added the `types` field to the dependency field in the config by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3315](https://github.com/gradio-app/gradio/pull/3315)
- Gradio Status Page by [@aliabd](https://github.com/aliabd) in [PR 3331](https://github.com/gradio-app/gradio/pull/3331)

## Testing and Infrastructure Changes:
* Adds a script to benchmark the performance of the queue and adds some instructions on how to use it. By [@freddyaboulton](https://github.com/freddyaboulton) and [@abidlabs](https://github.com/abidlabs) in [PR 3272](https://github.com/gradio-app/gradio/pull/3272)
Expand Down
2 changes: 1 addition & 1 deletion gradio/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ def reverse(text):
print(strings.en["SHARE_LINK_DISPLAY"].format(self.share_url))
if not (quiet):
print(strings.en["SHARE_LINK_MESSAGE"])
except RuntimeError:
except (RuntimeError, requests.exceptions.ConnectionError):
if self.analytics_enabled:
utils.error_analytics("Not able to set up tunnel")
self.share_url = None
Expand Down
2 changes: 1 addition & 1 deletion gradio/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"RUNNING_LOCALLY": "Running on local URL: {}",
"RUNNING_LOCALLY_SEPARATED": "Running on local URL: {}://{}:{}",
"SHARE_LINK_DISPLAY": "Running on public URL: {}",
"COULD_NOT_GET_SHARE_LINK": "\nCould not create share link, please check your internet connection.",
"COULD_NOT_GET_SHARE_LINK": "\nCould not create share link. Please check your internet connection or our status page: https://status.gradio.app",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should link to this somewhere on the website, too?

Copy link
Member

@abidlabs abidlabs Feb 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, we could add a link in the footer next to the logo:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added it at the bottom

Screen Shot 2023-02-27 at 9 24 23 AM

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm not sure but maybe it should be separated a bit more? #notagraphicdesigner but
image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or maybe even having it aligned on the right next to twitter / github makes would look nicer color-theme-wise

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I think this looks best

Screen Shot 2023-02-27 at 10 22 12 AM

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

"COLAB_NO_LOCAL": "Cannot display local interface on google colab, public link created.",
"PUBLIC_SHARE_TRUE": "\nTo create a public link, set `share=True` in `launch()`.",
"MODEL_PUBLICLY_AVAILABLE_URL": "Model available publicly at: {} (may take up to a minute for link to be usable)",
Expand Down
3 changes: 3 additions & 0 deletions website/homepage/src/templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
</svg>
</a>
<div class="flex gap-3">
<a href="https://status.gradio.app" target="_blank" class="text-gray-400 hover:text-gray-500">
<span>Status</span>
</a>
<a class="hover:opacity-75 transition" href="https://twitter.com/Gradio">
<img src="/assets/img/twitter.svg" class="w-6">
</a>
Expand Down