lenML commited on
Commit
d8ef4d7
·
verified ·
1 Parent(s): 7135cb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -150,6 +150,7 @@ def enable_best_attention_backend(pipeline):
150
  pipeline.transformer.set_attention_backend(backend)
151
  print(f"✅ Attention backend set to: {backend}")
152
  enabled = True
 
153
  except Exception as e:
154
  pass
155
 
 
150
  pipeline.transformer.set_attention_backend(backend)
151
  print(f"✅ Attention backend set to: {backend}")
152
  enabled = True
153
+ break
154
  except Exception as e:
155
  pass
156