fix a bug related to scope
Browse files
app.py
CHANGED
@@ -62,6 +62,7 @@ def run(hf_token, service, game, functionality, nlp_command):
|
|
62 |
user_name = "__fake__"
|
63 |
|
64 |
# redirect all traffic to the proxy sever
|
|
|
65 |
if redirect is not None:
|
66 |
space = redirect
|
67 |
url = f"https://{space}.hf.space"
|
|
|
62 |
user_name = "__fake__"
|
63 |
|
64 |
# redirect all traffic to the proxy sever
|
65 |
+
global space
|
66 |
if redirect is not None:
|
67 |
space = redirect
|
68 |
url = f"https://{space}.hf.space"
|