Yaron Koresh commited on
Commit
41a4bcd
·
verified ·
1 Parent(s): 6613bf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import gradio as gr
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
 
9
  import numpy as np
10
  from lxml.html import fromstring
11
  from transformers import pipeline
12
+ from torch import multiprocessing as mp, nn
13
  #from torch.multiprocessing import Pool
14
  #from pathos.multiprocessing import ProcessPool as Pool
15
  from pathos.threading import ThreadPool as Pool