steveagi commited on
Commit
74b63e3
·
1 Parent(s): ae15ca6

fix a bug related to scope

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"