Spaces:
Runtime error
Runtime error
nyonyong
commited on
Commit
·
a79a63f
1
Parent(s):
57c5f56
Directory fix
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ article = "<p style='text-align: center'> Handwritten Text Character Recognition
|
|
| 25 |
|
| 26 |
#<a href='https://github.com/bandalcom/Postech+KITA_AI-Project'>Source code</a>
|
| 27 |
#examples = [['zidane.jpg'], ['bus.jpg']]
|
| 28 |
-
examples = [['/home/user/app/noteimg1.jpg'], ['/home/user/app/noteimg2.jpg'], ['/home/user/app/noteimg3.jpg']]
|
| 29 |
#examples=examples,
|
| 30 |
gr.Interface(fn=HCR, inputs="image", outputs = "text", title=title, description=description, examples=examples, article=article, analytics_enabled=False).launch(
|
| 31 |
debug=True)
|
|
|
|
| 25 |
|
| 26 |
#<a href='https://github.com/bandalcom/Postech+KITA_AI-Project'>Source code</a>
|
| 27 |
#examples = [['zidane.jpg'], ['bus.jpg']]
|
| 28 |
+
examples = [[r'/home/user/app/noteimg1.jpg'], [r'/home/user/app/noteimg2.jpg'], [r'/home/user/app/noteimg3.jpg']]
|
| 29 |
#examples=examples,
|
| 30 |
gr.Interface(fn=HCR, inputs="image", outputs = "text", title=title, description=description, examples=examples, article=article, analytics_enabled=False).launch(
|
| 31 |
debug=True)
|