hysts commited on
Commit
7728909
1 Parent(s): 0db648b

Add placeholders

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -78,9 +78,14 @@ def run(space_name: str, model_names_str: str, hf_token: str, title: str,
78
  gr.Interface(
79
  fn=run,
80
  inputs=[
81
- gr.Textbox(label='Space Name'),
82
- gr.Textbox(label='Model Names'),
83
- gr.Textbox(label='HF TOKEN'),
 
 
 
 
 
84
  gr.Textbox(label='Title (Optional)'),
85
  gr.Textbox(label='Description (Optional)'),
86
  gr.Textbox(label='Article (Optional)'),
 
78
  gr.Interface(
79
  fn=run,
80
  inputs=[
81
+ gr.Textbox(label='Space Name', placeholder='<user_name>/<space_name>'),
82
+ gr.Textbox(label='Model Names',
83
+ placeholder='e.g. microsoft/resnet-50'),
84
+ gr.Textbox(
85
+ label='Hugging Face Token',
86
+ placeholder=
87
+ 'This should be a token with write permission. See: https://huggingface.co/settings/tokens'
88
+ ),
89
  gr.Textbox(label='Title (Optional)'),
90
  gr.Textbox(label='Description (Optional)'),
91
  gr.Textbox(label='Article (Optional)'),