nyonyong commited on
Commit
f114d41
1 Parent(s): 1454a03

Directory fix

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ article = "<p style='text-align: center'> Handwritten Text Character Recognition
26
 
27
  #<a href='https://github.com/bandalcom/Postech+KITA_AI-Project'>Source code</a>
28
  #examples = [['zidane.jpg'], ['bus.jpg']]
29
- torch.hub.download_url_to_file('https://ibb.co/JyMt31q', 'noteimg1.jpg')
30
- examples = [['noteimg1.jpg']]
31
  #examples=examples,
32
  gr.Interface(fn=HCR, inputs="image", outputs = "text", title=title, description=description, examples=examples, article=article, analytics_enabled=False).launch(
33
  debug=True)
 
26
 
27
  #<a href='https://github.com/bandalcom/Postech+KITA_AI-Project'>Source code</a>
28
  #examples = [['zidane.jpg'], ['bus.jpg']]
29
+ noteimg1 = torch.hub.download_url_to_file('https://ibb.co/JyMt31q', 'noteimg1.jpg')
30
+ examples = [[noteimg1]]
31
  #examples=examples,
32
  gr.Interface(fn=HCR, inputs="image", outputs = "text", title=title, description=description, examples=examples, article=article, analytics_enabled=False).launch(
33
  debug=True)