Update app.py
Browse files
app.py
CHANGED
|
@@ -151,7 +151,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue"), title="Hugging Face Hub
|
|
| 151 |
gr.Markdown("# Hugging Face Hub Dashboard")
|
| 152 |
gr.Markdown("An intuitive interface to manage your Hugging Face repositories. **Enter a write-token for full access.**")
|
| 153 |
|
| 154 |
-
with gr.
|
| 155 |
hf_token = gr.Textbox(label="Hugging Face API Token", type="password", placeholder="hf_...", scale=3)
|
| 156 |
whoami_output = gr.JSON(label="Authenticated User", visible=False, scale=1)
|
| 157 |
|
|
|
|
| 151 |
gr.Markdown("# Hugging Face Hub Dashboard")
|
| 152 |
gr.Markdown("An intuitive interface to manage your Hugging Face repositories. **Enter a write-token for full access.**")
|
| 153 |
|
| 154 |
+
with gr.Sidebar():
|
| 155 |
hf_token = gr.Textbox(label="Hugging Face API Token", type="password", placeholder="hf_...", scale=3)
|
| 156 |
whoami_output = gr.JSON(label="Authenticated User", visible=False, scale=1)
|
| 157 |
|