lvwerra HF Staff commited on
Commit
aeb0b24
·
1 Parent(s): 48c5747

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from huggingface_hub import hf_hub_download
3
  import json
4
  import gzip
5
-
6
 
7
  usernames = {}
8
 
@@ -47,7 +47,7 @@ def issue_url(username, repos):
47
 
48
  opt_out_text = opt_out_text_template.format(title=title, body=body)
49
 
50
- return opt_out_text
51
 
52
  def check_username(username, version):
53
  output_md = ""
 
2
  from huggingface_hub import hf_hub_download
3
  import json
4
  import gzip
5
+ import urllib
6
 
7
  usernames = {}
8
 
 
47
 
48
  opt_out_text = opt_out_text_template.format(title=title, body=body)
49
 
50
+ return urllib.parse.quote(opt_out_text)
51
 
52
  def check_username(username, version):
53
  output_md = ""