bluestyle97 commited on
Commit
d9755c0
1 Parent(s): e6f5524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,4 +1,6 @@
1
  import os
 
 
2
  import torch
3
  import gradio as gr
4
  from functools import partial
 
1
  import os
2
+ if 'OMP_NUM_THREADS' not in os.environ:
3
+ os.environ['OMP_NUM_THREADS'] = '16'
4
  import torch
5
  import gradio as gr
6
  from functools import partial