hsuwill000 commited on
Commit
b98ab6d
·
verified ·
1 Parent(s): 2c42c67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ async def infer_gradio(prompt: str):
77
  continue
78
  if runtime_info.stage in ['SLEEPING', 'PAUSED']:
79
  print(f"{repo} is now SLEEPING or PAUSED.")
80
- api.restart_space(repo_id=repo)
81
  continue
82
  # Create a CustomClient instance for each repo
83
  client = CustomClient(repo, hf_token=api_key, timeout=300)
 
77
  continue
78
  if runtime_info.stage in ['SLEEPING', 'PAUSED']:
79
  print(f"{repo} is now SLEEPING or PAUSED.")
80
+ #api.restart_space(repo_id=repo)
81
  continue
82
  # Create a CustomClient instance for each repo
83
  client = CustomClient(repo, hf_token=api_key, timeout=300)