Quentin Gallouédec commited on
Commit
2aa695b
·
1 Parent(s): 7aff449

improve template

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -169,15 +169,14 @@ with gr.Blocks() as demo:
169
  gr.Markdown(
170
  """Recommended for API token
171
  - Go to https://huggingface.co/settings/tokens?new_token=true
172
- - Choose "Fine-grained"
173
  - Check only _**Repos**/Write access to contents/settings of all repos under your personal namespace_
174
  - Revoke the token after use"""
175
  )
176
- with gr.Row():
177
- user_id = gr.Textbox(label="User ID", placeholder="Enter your Hugging Face user ID")
178
- dataset_id = gr.Textbox(label="Dataset ID", placeholder="Enter the desired dataset ID")
179
- token = gr.Textbox(label="API token", placeholder="Enter a Hugging Face API token")
180
- private = gr.Checkbox(label="Private")
181
 
182
  gr.Markdown("## 2️⃣ Convert the PDFs and upload")
183
  convert_button = gr.Button("🔄 Convert and upload")
 
169
  gr.Markdown(
170
  """Recommended for API token
171
  - Go to https://huggingface.co/settings/tokens?new_token=true
172
+ - Choose _Fine-grained_
173
  - Check only _**Repos**/Write access to contents/settings of all repos under your personal namespace_
174
  - Revoke the token after use"""
175
  )
176
+ user_id = gr.Textbox(label="User ID", placeholder="Enter your Hugging Face user ID")
177
+ dataset_id = gr.Textbox(label="Dataset ID", placeholder="Enter the desired dataset ID")
178
+ token = gr.Textbox(label="API token", placeholder="Enter a Hugging Face API token")
179
+ private = gr.Checkbox(label="Make dataset private")
 
180
 
181
  gr.Markdown("## 2️⃣ Convert the PDFs and upload")
182
  convert_button = gr.Button("🔄 Convert and upload")