shreyasvaidya commited on
Commit
e0bff37
·
verified ·
1 Parent(s): dd1c221

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -286,7 +286,7 @@ def process_image(image):
286
 
287
 
288
 
289
- translated = translate(recognized_texts,script_lang)
290
 
291
 
292
  # Combine recognized texts into a single string for display
@@ -307,11 +307,11 @@ interface_html = """
307
  # Links to GitHub and Dataset repositories with GitHub icon
308
  links_html = """
309
  <div style="text-align: center; padding-top: 20px;">
310
- <a href="https://github.com/Bhashini-IITJ/IndicPhotoOCR" target="_blank" style="margin-right: 20px; font-size: 18px; text-decoration: none;">
311
  GitHub Repository
312
  </a>
313
- <a href="https://github.com/Bhashini-IITJ/BharatSceneTextDataset" target="_blank" style="font-size: 18px; text-decoration: none;">
314
- Dataset Repository
315
  </a>
316
  </div>
317
  """
 
286
 
287
 
288
 
289
+ translated = translate(recognized_text,script_lang)
290
 
291
 
292
  # Combine recognized texts into a single string for display
 
307
  # Links to GitHub and Dataset repositories with GitHub icon
308
  links_html = """
309
  <div style="text-align: center; padding-top: 20px;">
310
+ <a href="https://github.com/Bhashini-IITJ/visualTranslation" target="_blank" style="margin-right: 20px; font-size: 18px; text-decoration: none;">
311
  GitHub Repository
312
  </a>
313
+ <a href="https://vl2g.github.io/projects/visTrans" target="_blank" style="font-size: 18px; text-decoration: none;">
314
+ Project Page
315
  </a>
316
  </div>
317
  """