Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
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.
|
|
|
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
|