Spaces:
Runtime error
Runtime error
Update app.py
#1
by MetalSonic - opened
app.py
CHANGED
|
@@ -159,7 +159,7 @@ with gr.Blocks(fill_width=True,theme=theme) as demo:
|
|
| 159 |
with gr.Column(scale=4):
|
| 160 |
gr.HTML(
|
| 161 |
f"""<h1 style="text-align:center">Advanced POST creation with GRADIO and HF API</h1>""")
|
| 162 |
-
alertTEXT = gr.Text("⚠️✅You don't
|
| 163 |
with gr.Column(scale=2):
|
| 164 |
TOKEN = gr.Textbox(lines=1,label='Your HF token',scale=1)
|
| 165 |
btn_token = gr.Button("Validate HF token", variant='secondary',size='lg',scale=1)
|
|
|
|
| 159 |
with gr.Column(scale=4):
|
| 160 |
gr.HTML(
|
| 161 |
f"""<h1 style="text-align:center">Advanced POST creation with GRADIO and HF API</h1>""")
|
| 162 |
+
alertTEXT = gr.Text("⚠️✅You don't havtwee8Hugging Face Token set",container=False,show_label=False,)
|
| 163 |
with gr.Column(scale=2):
|
| 164 |
TOKEN = gr.Textbox(lines=1,label='Your HF token',scale=1)
|
| 165 |
btn_token = gr.Button("Validate HF token", variant='secondary',size='lg',scale=1)
|