Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- Gradio_UI.py +5 -1
Gradio_UI.py
CHANGED
|
@@ -113,8 +113,11 @@ with gr.Blocks(title="Regulatory Compliance Generator", css="""
|
|
| 113 |
a[href*="gradio.app"],
|
| 114 |
a[href*="huggingface.co"],
|
| 115 |
button[aria-label="Share"],
|
|
|
|
| 116 |
button[data-testid="share-button"],
|
| 117 |
-
|
|
|
|
|
|
|
| 118 |
display: none !important;
|
| 119 |
}
|
| 120 |
</style>
|
|
@@ -122,6 +125,7 @@ with gr.Blocks(title="Regulatory Compliance Generator", css="""
|
|
| 122 |
|
| 123 |
|
| 124 |
|
|
|
|
| 125 |
with gr.Row():
|
| 126 |
reg_dropdown = gr.Dropdown(
|
| 127 |
choices=list(DOCUMENT_TO_MODULE.keys()),
|
|
|
|
| 113 |
a[href*="gradio.app"],
|
| 114 |
a[href*="huggingface.co"],
|
| 115 |
button[aria-label="Share"],
|
| 116 |
+
button[title="Share"],
|
| 117 |
button[data-testid="share-button"],
|
| 118 |
+
.svelte-1ipelgc[data-testid="block-settings-button"],
|
| 119 |
+
.svelte-drgfjz[data-testid="share-button"],
|
| 120 |
+
.svelte-drgfjz svg path[d^="M15 8a3"] { /* Specific SVG icon path targeting */
|
| 121 |
display: none !important;
|
| 122 |
}
|
| 123 |
</style>
|
|
|
|
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
+
|
| 129 |
with gr.Row():
|
| 130 |
reg_dropdown = gr.Dropdown(
|
| 131 |
choices=list(DOCUMENT_TO_MODULE.keys()),
|