Remove upload notice paragraph from demo UI
Browse files
src/dvlt/scripts/gradio_demo.py
CHANGED
|
@@ -638,15 +638,6 @@ def build_app(
|
|
| 638 |
) as demo:
|
| 639 |
session = gr.State({"active_label": default_label, "frames": [], "selected_idx": None}, time_to_live=3600)
|
| 640 |
gr.HTML(DEMO_HEADER, elem_id="dv-header")
|
| 641 |
-
if hosted:
|
| 642 |
-
gr.Markdown(
|
| 643 |
-
f"Upload up to {HOSTED_MAX_FRAMES} images or sampled video frames (16 megapixels per frame; "
|
| 644 |
-
"100 MB per file, 256 MiB total). "
|
| 645 |
-
"Uploads and results use temporary server storage and are scheduled for deletion "
|
| 646 |
-
"after one hour. Download results before they expire. "
|
| 647 |
-
"Hugging Face may retain operational logs separately. "
|
| 648 |
-
"Only upload content you have permission to process."
|
| 649 |
-
)
|
| 650 |
with gr.Row():
|
| 651 |
with gr.Column(scale=1, min_width=320):
|
| 652 |
with gr.Tabs():
|
|
|
|
| 638 |
) as demo:
|
| 639 |
session = gr.State({"active_label": default_label, "frames": [], "selected_idx": None}, time_to_live=3600)
|
| 640 |
gr.HTML(DEMO_HEADER, elem_id="dv-header")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 641 |
with gr.Row():
|
| 642 |
with gr.Column(scale=1, min_width=320):
|
| 643 |
with gr.Tabs():
|