Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -57,9 +57,11 @@ def check_username(username, version):
|
|
57 |
output_md += f"**Yes**, there is code from **{len(repos)} {repo_word}** in The Stack:\n\n"
|
58 |
for repo in repos:
|
59 |
output_md += f"_{repo}_\n\n"
|
|
|
|
|
60 |
else:
|
61 |
output_md += "**No**, your code is not in The Stack."
|
62 |
-
|
63 |
|
64 |
with gr.Blocks() as demo:
|
65 |
with gr.Row():
|
|
|
57 |
output_md += f"**Yes**, there is code from **{len(repos)} {repo_word}** in The Stack:\n\n"
|
58 |
for repo in repos:
|
59 |
output_md += f"_{repo}_\n\n"
|
60 |
+
|
61 |
+
return output_md.strip(), issue_url(username, repos)
|
62 |
else:
|
63 |
output_md += "**No**, your code is not in The Stack."
|
64 |
+
return output_md.strip(), ""
|
65 |
|
66 |
with gr.Blocks() as demo:
|
67 |
with gr.Row():
|