Yaron Koresh commited on
Commit
d462f0c
·
verified ·
1 Parent(s): 578a231

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -163,7 +163,7 @@ def main():
163
  result=[]
164
  pp1=pipe_t2i()
165
 
166
- mp.set_start_method("fork", force=True)
167
 
168
  with gr.Blocks(theme=gr.themes.Soft(),css=css,js=js) as demo:
169
  with gr.Column(elem_id="col-container"):
 
163
  result=[]
164
  pp1=pipe_t2i()
165
 
166
+ mp.set_start_method("spawn", force=True)
167
 
168
  with gr.Blocks(theme=gr.themes.Soft(),css=css,js=js) as demo:
169
  with gr.Column(elem_id="col-container"):