Spaces:
Runtime error
Runtime error
nyonyong
commited on
Commit
·
3cf3bc0
1
Parent(s):
f832e92
Directory fix
Browse files
app.py
CHANGED
|
@@ -6,10 +6,8 @@ import process as ps
|
|
| 6 |
from urllib.parse import urlparse
|
| 7 |
|
| 8 |
gitblog = "https://bandalcom.github.io/"
|
| 9 |
-
gitblogURL = urlparse(gitblog, ':/')
|
| 10 |
github = "https://github.com/bandalcom/Postech-KITA_AI-Project"
|
| 11 |
-
|
| 12 |
-
print(githubURL)
|
| 13 |
#torch.hub.download_url_to_file('https://huggingface.co/spaces/Nebulae000/NoteCrawling/blob/main/noteimg2.jpg', 'noteimg2.jpg')
|
| 14 |
|
| 15 |
def HCR(im):
|
|
@@ -27,7 +25,7 @@ description = "[Postech X KITA] Elite Undergradute AI Strategy Program | AI Proj
|
|
| 27 |
article = "<p style='text-align: center'> Handwritten Text Character Recognition Task \n" \
|
| 28 |
"Text Detection + Text Rearrangement + Text Recognition\n" \
|
| 29 |
"For More Information\n" \
|
| 30 |
-
"<a href='"+
|
| 31 |
|
| 32 |
#<a href='https://github.com/bandalcom/Postech+KITA_AI-Project'>Source code</a>
|
| 33 |
#examples = [['zidane.jpg'], ['bus.jpg']]
|
|
|
|
| 6 |
from urllib.parse import urlparse
|
| 7 |
|
| 8 |
gitblog = "https://bandalcom.github.io/"
|
|
|
|
| 9 |
github = "https://github.com/bandalcom/Postech-KITA_AI-Project"
|
| 10 |
+
|
|
|
|
| 11 |
#torch.hub.download_url_to_file('https://huggingface.co/spaces/Nebulae000/NoteCrawling/blob/main/noteimg2.jpg', 'noteimg2.jpg')
|
| 12 |
|
| 13 |
def HCR(im):
|
|
|
|
| 25 |
article = "<p style='text-align: center'> Handwritten Text Character Recognition Task \n" \
|
| 26 |
"Text Detection + Text Rearrangement + Text Recognition\n" \
|
| 27 |
"For More Information\n" \
|
| 28 |
+
"<a href='"+ "https%3A%2F%2Fbandalcom.github.io%2F" +"'>GitBlog</a> | <a href='"+ "https%3A%2F%2Fbandalcom.github.io%2F" +"'>Source code</a></p>"
|
| 29 |
|
| 30 |
#<a href='https://github.com/bandalcom/Postech+KITA_AI-Project'>Source code</a>
|
| 31 |
#examples = [['zidane.jpg'], ['bus.jpg']]
|