nyonyong commited on
Commit
3afd6a5
1 Parent(s): f114d41

Directory fix

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -26,8 +26,7 @@ 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
- 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)
 
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, article=article, analytics_enabled=False).launch(debug=True)