Spaces:
Runtime error
Runtime error
nyonyong
commited on
Commit
•
0477fd5
1
Parent(s):
7c8b66e
Directory fix
Browse files
app.py
CHANGED
@@ -3,12 +3,12 @@ import subprocess
|
|
3 |
import torch
|
4 |
import directories as Dir
|
5 |
import process as ps
|
6 |
-
import
|
7 |
|
8 |
gitblog = "https://bandalcom.github.io/"
|
9 |
-
gitblogURL =
|
10 |
github = "https://github.com/bandalcom/Postech-KITA_AI-Project"
|
11 |
-
githubURL =
|
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):
|