MySafeCode commited on
Commit
b407cba
·
verified ·
1 Parent(s): 12e042a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -12
app.py CHANGED
@@ -113,12 +113,7 @@ with gr.Blocks(title="Hugging Face Hub Uploader", theme=gr.themes.Soft()) as dem
113
  placeholder="Add new file",
114
  value="Upload file via Gradio app"
115
  )
116
- token_file = gr.Textbox(
117
- label="Hugging Face Token",
118
- type="password",
119
- placeholder="hf_...",
120
- info="Your Hugging Face access token"
121
- )
122
  upload_file_btn = gr.Button("Upload File", variant="primary")
123
 
124
  with gr.Column():
@@ -167,12 +162,7 @@ with gr.Blocks(title="Hugging Face Hub Uploader", theme=gr.themes.Soft()) as dem
167
  placeholder="*.pyc, __pycache__, .git",
168
  info="Comma-separated patterns to ignore (e.g., '*.pyc, __pycache__')"
169
  )
170
- token_folder = gr.Textbox(
171
- label="Hugging Face Token",
172
- type="password",
173
- placeholder=token ,
174
- info="Your Hugging Face access token"
175
- )
176
  upload_folder_btn = gr.Button("Upload Folder", variant="primary")
177
 
178
  with gr.Column():
 
113
  placeholder="Add new file",
114
  value="Upload file via Gradio app"
115
  )
116
+
 
 
 
 
 
117
  upload_file_btn = gr.Button("Upload File", variant="primary")
118
 
119
  with gr.Column():
 
162
  placeholder="*.pyc, __pycache__, .git",
163
  info="Comma-separated patterns to ignore (e.g., '*.pyc, __pycache__')"
164
  )
165
+
 
 
 
 
 
166
  upload_folder_btn = gr.Button("Upload Folder", variant="primary")
167
 
168
  with gr.Column():