nyonyong commited on
Commit
0477fd5
1 Parent(s): 7c8b66e

Directory fix

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -3,12 +3,12 @@ import subprocess
3
  import torch
4
  import directories as Dir
5
  import process as ps
6
- import urllib
7
 
8
  gitblog = "https://bandalcom.github.io/"
9
- gitblogURL = urllib.parse(gitblog.encode('utf8'), ':/')
10
  github = "https://github.com/bandalcom/Postech-KITA_AI-Project"
11
- githubURL = urllib.parse(github.encode('utf8'), ':/')
12
  #torch.hub.download_url_to_file('https://huggingface.co/spaces/Nebulae000/NoteCrawling/blob/main/noteimg2.jpg', 'noteimg2.jpg')
13
 
14
  def HCR(im):
 
3
  import torch
4
  import directories as Dir
5
  import process as ps
6
+ from urllib.parse import urlparse
7
 
8
  gitblog = "https://bandalcom.github.io/"
9
+ gitblogURL = urlparse(gitblog.encode('utf8'), ':/')
10
  github = "https://github.com/bandalcom/Postech-KITA_AI-Project"
11
+ githubURL = urlparse(github.encode('utf8'), ':/')
12
  #torch.hub.download_url_to_file('https://huggingface.co/spaces/Nebulae000/NoteCrawling/blob/main/noteimg2.jpg', 'noteimg2.jpg')
13
 
14
  def HCR(im):