Yaron Koresh commited on
Commit
ce53544
·
verified ·
1 Parent(s): 1fe0d57

Update app.py

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