HuseynG commited on
Commit
dc1b525
·
1 Parent(s): 0b9a698

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -146,8 +146,8 @@ def generate_random_img(model):
146
 
147
  def schedule_function(): # for dummy space so that this spcae and other space will call each other to avoid sleep time, again this project is for academic purpose.
148
  while True:
149
- # wait_time = random.uniform(3 * 60 * 60, 5 * 60 * 60) # Get a random wait time between 3 and 5 hours in seconds
150
- wait_time = random.uniform(3, 5)
151
  time.sleep(wait_time)
152
  # call dummyscape
153
  client = Client("https://huseyng-dummyspace.hf.space/")
 
146
 
147
  def schedule_function(): # for dummy space so that this spcae and other space will call each other to avoid sleep time, again this project is for academic purpose.
148
  while True:
149
+ wait_time = random.uniform(3 * 60 * 60, 5 * 60 * 60) # Get a random wait time between 3 and 5 hours in seconds
150
+ # wait_time = random.uniform(3, 5)
151
  time.sleep(wait_time)
152
  # call dummyscape
153
  client = Client("https://huseyng-dummyspace.hf.space/")