wseo commited on
Commit
f8f6fba
β€’
1 Parent(s): d7e7281

chore: label textbox (#8)

Browse files

- chore: label textbox (f3de0891b73108223ea3263a2eb16dba9b85e35c)

Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -211,7 +211,7 @@ def create_certificate(passed, certificate_type, hf_username, first_name, last_n
211
  Since you contributed to models, datasets, and spaces- you get a Certificate of Excellence πŸŽ“.
212
  You can download your certificate below ⬇️
213
  https://huggingface.co/datasets/pseudolab/huggingface-krew-hackathon2023/resolve/main/certificates/{hf_username}.pdf\n
214
- Don't hesitate to share your certificate link above on Twitter and Linkedin (you can tag me @wonhseo, @pseudolab and @huggingface) πŸ€—
215
 
216
  """
217
  elif passed and certificate_type == "completion":
@@ -227,7 +227,7 @@ def create_certificate(passed, certificate_type, hf_username, first_name, last_n
227
  Since you contributed to at least one model, dataset, or space- you get a Certificate of Completion πŸŽ“.
228
  You can download your certificate below ⬇️
229
  https://huggingface.co/datasets/pseudolab/huggingface-krew-hackathon2023/resolve/main/certificates/{hf_username}.pdf\n
230
- Don't hesitate to share your certificate link above on Twitter and Linkedin (you can tag me @wonhseo, @pseudolab and @huggingface) πŸ€— \n
231
  You can try to get a Certificate of Excellence if you contribute to all types of repos, please don't hesitate to do so.
232
  """
233
  else:
@@ -268,7 +268,7 @@ with gr.Blocks() as demo:
268
 
269
  For more information about the certification process [check the hackathon page on certification](https://pseudo-lab.github.io/huggingface-hackathon23/submit.html#certification).
270
 
271
- Don't hesitate to share your certificate on Twitter (tag me [@wonhseo](https://twitter.com/wonhseo), [@pseudolab](https://twitter.com/pseudo-lab), and [@huggingface](https://twitter.com/huggingface)) and on LinkedIn.
272
  """
273
  )
274
 
@@ -279,7 +279,7 @@ with gr.Blocks() as demo:
279
  last_name = gr.Textbox(placeholder="Seo", label="Your Last Name")
280
 
281
  check_progress_button = gr.Button(value="Check if I pass and get the certificate")
282
- output_text = gr.components.Textbox()
283
 
284
  with gr.Row(visible=True) as output_row:
285
  output_pdf = gr.File()
 
211
  Since you contributed to models, datasets, and spaces- you get a Certificate of Excellence πŸŽ“.
212
  You can download your certificate below ⬇️
213
  https://huggingface.co/datasets/pseudolab/huggingface-krew-hackathon2023/resolve/main/certificates/{hf_username}.pdf\n
214
+ Don't hesitate to share your certificate link above on Twitter and Linkedin (you can tag me @wonhseo, @pseudo-lab and @huggingface) πŸ€—
215
 
216
  """
217
  elif passed and certificate_type == "completion":
 
227
  Since you contributed to at least one model, dataset, or space- you get a Certificate of Completion πŸŽ“.
228
  You can download your certificate below ⬇️
229
  https://huggingface.co/datasets/pseudolab/huggingface-krew-hackathon2023/resolve/main/certificates/{hf_username}.pdf\n
230
+ Don't hesitate to share your certificate link above on Twitter and Linkedin (you can tag me @wonhseo, @pseudo-lab and @huggingface) πŸ€— \n
231
  You can try to get a Certificate of Excellence if you contribute to all types of repos, please don't hesitate to do so.
232
  """
233
  else:
 
268
 
269
  For more information about the certification process [check the hackathon page on certification](https://pseudo-lab.github.io/huggingface-hackathon23/submit.html#certification).
270
 
271
+ Don't hesitate to share your certificate on Twitter (tag me [@wonhseo](https://twitter.com/wonhseo), [@pseudo-lab](https://twitter.com/pseudo-lab), and [@huggingface](https://twitter.com/huggingface)) and on LinkedIn.
272
  """
273
  )
274
 
 
279
  last_name = gr.Textbox(placeholder="Seo", label="Your Last Name")
280
 
281
  check_progress_button = gr.Button(value="Check if I pass and get the certificate")
282
+ output_text = gr.components.Textbox(label="Your Result")
283
 
284
  with gr.Row(visible=True) as output_row:
285
  output_pdf = gr.File()