Spaces:
Running
Running
fix
Browse files- start_app.py +1 -1
start_app.py
CHANGED
@@ -88,7 +88,7 @@ def run(src, config, split, dst, query, oauth_token: gr.OAuthToken | None, profi
|
|
88 |
username = HfApi().whoami(token=token)["name"]
|
89 |
else:
|
90 |
raise gr.Error("Please log in to run the job.")
|
91 |
-
args = ["--src", src] + (["--config", config] if config else []) + (["--split", split] if split else []) + [ "--dst", dst, "--query", query
|
92 |
cmd = CMD + args
|
93 |
logs = "Job:\n\n```bash\n" + " ".join('"' + arg.replace('"', '\"""') + '"' if " " in arg else arg for arg in cmd) + "\n```\nOutput:\n\n"
|
94 |
pbars = {}
|
|
|
88 |
username = HfApi().whoami(token=token)["name"]
|
89 |
else:
|
90 |
raise gr.Error("Please log in to run the job.")
|
91 |
+
args = ["--src", src] + (["--config", config] if config else []) + (["--split", split] if split else []) + [ "--dst", dst, "--query", query]
|
92 |
cmd = CMD + args
|
93 |
logs = "Job:\n\n```bash\n" + " ".join('"' + arg.replace('"', '\"""') + '"' if " " in arg else arg for arg in cmd) + "\n```\nOutput:\n\n"
|
94 |
pbars = {}
|