Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- Gradio_UI.py +9 -6
Gradio_UI.py
CHANGED
|
@@ -95,14 +95,17 @@ with gr.Blocks(
|
|
| 95 |
css="""
|
| 96 |
footer,
|
| 97 |
a[href*="gradio.app"],
|
| 98 |
-
a[href*="huggingface.co"]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
button[aria-label="Share"],
|
| 100 |
button[title="Share"],
|
| 101 |
-
button[data-testid="share-button"]
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
display: none !important;
|
| 106 |
}
|
| 107 |
"""
|
| 108 |
) as demo:
|
|
|
|
| 95 |
css="""
|
| 96 |
footer,
|
| 97 |
a[href*="gradio.app"],
|
| 98 |
+
a[href*="huggingface.co"] {
|
| 99 |
+
display: none !important;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
/* Disable share button click */
|
| 103 |
button[aria-label="Share"],
|
| 104 |
button[title="Share"],
|
| 105 |
+
button[data-testid="share-button"] {
|
| 106 |
+
pointer-events: none !important;
|
| 107 |
+
opacity: 0.4 !important;
|
| 108 |
+
cursor: default !important;
|
|
|
|
| 109 |
}
|
| 110 |
"""
|
| 111 |
) as demo:
|