Omnibus commited on
Commit
5998b3b
1 Parent(s): 019a533

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -9,7 +9,7 @@ from zipfile import ZipFile
9
  from huggingface_hub import (create_repo,get_full_repo_name,upload_file,CommitOperationAdd,HfApi)
10
  uid = uuid.uuid4()
11
 
12
- #token_self = os.environ['HF_TOKEN']
13
 
14
  models =[
15
  "",
@@ -509,11 +509,11 @@ with gr.Blocks() as build_app:
509
 
510
  with gr.Box():
511
  option_token = gr.Textbox(label="HF Write Token to write to your REPO", placeholder="Optional")
512
- t_name = gr.Textbox(label="NAME (Link will be: repo-NAME.hf.space)")
513
  t_space = gr.Textbox(label="Direct URL to your Space (https://you-repo-you-space.hf.space)")
514
  t_title = gr.Textbox(label="Title for Twitter Card")
515
- t_description = gr.Textbox(label="Short Description for Twitter Card")
516
- t_redirect = gr.Textbox(label="Redirect URL for Twitter Card Click")
517
  gr.Markdown("""Image for your Card (min: 300x300 [Square]""")
518
  t_image_url = gr.Textbox(label="Image URL", placeholder="Optional URL Input")
519
  t_image = gr.Image(label="Twitter Card Image", type="filepath",interactive=True)
 
9
  from huggingface_hub import (create_repo,get_full_repo_name,upload_file,CommitOperationAdd,HfApi)
10
  uid = uuid.uuid4()
11
 
12
+ token_self = os.environ['HF_TOKEN']
13
 
14
  models =[
15
  "",
 
509
 
510
  with gr.Box():
511
  option_token = gr.Textbox(label="HF Write Token to write to your REPO", placeholder="Optional")
512
+ t_name = gr.Textbox(label="NAME (Link will be: repo-NAME.hf.space)", placeholder="Optional")
513
  t_space = gr.Textbox(label="Direct URL to your Space (https://you-repo-you-space.hf.space)")
514
  t_title = gr.Textbox(label="Title for Twitter Card")
515
+ t_description = gr.Textbox(label="Short Description for Twitter Card", placeholder="Optional")
516
+ t_redirect = gr.Textbox(label="Redirect URL for Twitter Card Click", placeholder="Optional")
517
  gr.Markdown("""Image for your Card (min: 300x300 [Square]""")
518
  t_image_url = gr.Textbox(label="Image URL", placeholder="Optional URL Input")
519
  t_image = gr.Image(label="Twitter Card Image", type="filepath",interactive=True)