clone3 commited on
Commit
e99ea4a
1 Parent(s): 3ea5d70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -61,6 +61,7 @@ pipe.compile()
61
  # Personal Thing-----------------------------------
62
  api_url = None
63
  def make_api_request():
 
64
  response = requests.get("https://genielamp-image9.hf.space/")
65
  api_url = response.text
66
  match = re.search(r'"root"\s*:\s*"([^"]+)"', response.text)
 
61
  # Personal Thing-----------------------------------
62
  api_url = None
63
  def make_api_request():
64
+ global api_url
65
  response = requests.get("https://genielamp-image9.hf.space/")
66
  api_url = response.text
67
  match = re.search(r'"root"\s*:\s*"([^"]+)"', response.text)