gorkemgoknar commited on
Commit
3f9125f
1 Parent(s): bd2b4e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -212,9 +212,9 @@ def predict(
212
  f"Unrecoverable exception caused by language:{DEVICE_ASSERT_LANG} prompt:{DEVICE_ASSERT_PROMPT}"
213
  )
214
 
215
- print("RESTARTING SPACE")
216
- # HF Space specific.. This error is unrecoverable need to restart space
217
- api.restart_space(repo_id=repo_id)
218
  try:
219
  metrics_text = ""
220
  t_latent = time.time()
 
212
  f"Unrecoverable exception caused by language:{DEVICE_ASSERT_LANG} prompt:{DEVICE_ASSERT_PROMPT}"
213
  )
214
 
215
+ #print("RESTARTING SPACE")
216
+ ## HF Space specific.. This error is unrecoverable need to restart space
217
+ #api.restart_space(repo_id=repo_id)
218
  try:
219
  metrics_text = ""
220
  t_latent = time.time()