Yaron Koresh commited on
Commit
77872ec
·
verified ·
1 Parent(s): 66fc53c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,7 +8,8 @@ import requests
8
  import gradio as gr
9
  import numpy as np
10
  from lxml.html import fromstring
11
- from pathos.threading import ThreadPool as Pool
 
12
  #from diffusers.pipelines.flux import FluxPipeline
13
  #from diffusers.utils import export_to_gif
14
  #from huggingface_hub import hf_hub_download
 
8
  import gradio as gr
9
  import numpy as np
10
  from lxml.html import fromstring
11
+ from pathos.multiprocessing import ProcessPool as Pool
12
+ #from pathos.threading import ThreadPool as Pool
13
  #from diffusers.pipelines.flux import FluxPipeline
14
  #from diffusers.utils import export_to_gif
15
  #from huggingface_hub import hf_hub_download