Spaces:
Running
Running
Ann Huang
commited on
Commit
·
e1c7e45
1
Parent(s):
332519e
Suggested text updates
Browse files
app.py
CHANGED
@@ -157,18 +157,15 @@ with gr.Blocks(theme="citrus", fill_width=False) as demo:
|
|
157 |
"""
|
158 |
)
|
159 |
|
160 |
-
gr.HTML(
|
161 |
-
f"<div id='global' style='font-size:16px;color:var(--body-text-color)'><span style='background-color:#f59e0b;color:black;padding:2px'>{n_unique_countries}</span> countries developing, sending <span style='background-color:#f59e0b;color:black;padding:2px'>{sum_request_count:,}</span> upload requests, and pushing over <span style='background-color:#f59e0b;color:black;padding:2px'>{sum_object_size / 1e+12:.2f}TB</span> to the Hub in 24 hours.</div>"
|
162 |
-
)
|
163 |
-
|
164 |
gr.Markdown(
|
165 |
-
"
|
166 |
)
|
167 |
|
168 |
-
gr.
|
169 |
-
"
|
170 |
)
|
171 |
|
|
|
172 |
with gr.Row():
|
173 |
with gr.Group():
|
174 |
with gr.Column(scale=1):
|
@@ -213,7 +210,7 @@ with gr.Blocks(theme="citrus", fill_width=False) as demo:
|
|
213 |
)
|
214 |
|
215 |
gr.Markdown(
|
216 |
-
"The Pareto chart below shows the top countries by upload size or request count, with a cumulative line indicating the percentage of total upload volume or requests represented by these countries.
|
217 |
)
|
218 |
|
219 |
bar_chart = gr.Plot()
|
|
|
157 |
"""
|
158 |
)
|
159 |
|
|
|
|
|
|
|
|
|
160 |
gr.Markdown(
|
161 |
+
"The [Xet team's](https://huggingface.co/xet-team) backend uses a [content-addressable store (CAS)](https://en.wikipedia.org/wiki/Content-addressable_storage) for efficient deduplication and optimized data storage, making it ideal for Hugging Face Hub's scale. As we re-architect uploads and downloads on the Hub, we are inserting a CAS as the first stop for content distribution. To decide where to deploy our CAS [points of presence](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/points-of-presence.html), we analyzed a 24 hour window of global uploads to the Hub from October 11th, 2024."
|
162 |
)
|
163 |
|
164 |
+
gr.HTML(
|
165 |
+
f"<div id='global' style='color:var(--body-text-color)'>We found <span style='background-color:#f59e0b;color:black;padding:2px'>{sum_request_count:,}</span> upload requests pushing over <span style='background-color:#f59e0b;color:black;padding:2px'>{sum_object_size / 1e+12:.2f} TB</span> from <span style='background-color:#f59e0b;color:black;padding:2px'>{n_unique_countries}</span> countries. Explore the data below by using the slider to view uploads by hour, the buttons to visualize by object size or number of requests, and the dropdown to see how uploads will be routed by AWS region in our new redesigned architecture.</div>"
|
166 |
)
|
167 |
|
168 |
+
|
169 |
with gr.Row():
|
170 |
with gr.Group():
|
171 |
with gr.Column(scale=1):
|
|
|
210 |
)
|
211 |
|
212 |
gr.Markdown(
|
213 |
+
"The Pareto chart below shows the top countries by upload size or request count, with a cumulative line indicating the percentage of total upload volume or requests represented by these countries. This chart is filtered by AWS region selected above."
|
214 |
)
|
215 |
|
216 |
bar_chart = gr.Plot()
|