Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -94,10 +94,13 @@ def process_pdfs(pdfs):
|
|
94 |
|
95 |
# Gradio interface setup with Hugging Face API token input
|
96 |
with gr.Blocks() as app:
|
|
|
|
|
|
|
97 |
gr.Markdown("### Hugging Face Authentication")
|
98 |
|
99 |
-
# Input field for Hugging Face API token
|
100 |
-
hf_token = gr.Textbox(label="Hugging Face API Token", placeholder="Enter your Hugging Face token here", type="password")
|
101 |
login_button = gr.Button("Authenticate")
|
102 |
auth_status = gr.Textbox(label="Authentication Status", interactive=False)
|
103 |
|
|
|
94 |
|
95 |
# Gradio interface setup with Hugging Face API token input
|
96 |
with gr.Blocks() as app:
|
97 |
+
# Adding Hugging Face logo
|
98 |
+
gr.Image("https://huggingface.co/front/assets/huggingface_logo.svg", label="Hugging Face Logo", width=150)
|
99 |
+
|
100 |
gr.Markdown("### Hugging Face Authentication")
|
101 |
|
102 |
+
# Input field for Hugging Face API token (blank space)
|
103 |
+
hf_token = gr.Textbox(label="Hugging Face API Token", placeholder="Enter your Hugging Face token here", type="password", value="")
|
104 |
login_button = gr.Button("Authenticate")
|
105 |
auth_status = gr.Textbox(label="Authentication Status", interactive=False)
|
106 |
|