Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -286,7 +286,7 @@ def process_image(image):
|
|
286 |
|
287 |
|
288 |
|
289 |
-
translated = translate(
|
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/
|
311 |
GitHub Repository
|
312 |
</a>
|
313 |
-
<a href="https://github.
|
314 |
-
|
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 |
"""
|