drewThomasson commited on
Commit
bc19ae4
1 Parent(s): fdb7d3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -20,13 +20,13 @@ import gradio as gr
20
  from gradio import Progress
21
  import urllib.request
22
  import zipfile
23
- import MeCab
24
- import unidic
25
 
26
  nltk.download('punkt_tab')
27
 
28
  # Download UniDic if it's not already installed
29
- unidic.download()
30
 
31
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
32
  print(f"Device selected is: {device}")
 
20
  from gradio import Progress
21
  import urllib.request
22
  import zipfile
23
+ #import MeCab
24
+ #import unidic
25
 
26
  nltk.download('punkt_tab')
27
 
28
  # Download UniDic if it's not already installed
29
+ #unidic.download()
30
 
31
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
32
  print(f"Device selected is: {device}")