Commit
Β·
37c2138
1
Parent(s):
41b9823
Modify readme
Browse files
README.md
CHANGED
@@ -1,16 +1,34 @@
|
|
1 |
-
<<<<<<< HEAD
|
2 |
---
|
3 |
-
title:
|
4 |
-
emoji:
|
5 |
-
colorFrom:
|
6 |
-
colorTo:
|
7 |
sdk: gradio
|
8 |
-
sdk_version: 5.
|
9 |
app_file: app.py
|
10 |
pinned: false
|
|
|
11 |
---
|
|
|
|
|
|
|
|
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
title: All In One Translation
|
3 |
+
emoji: π
|
4 |
+
colorFrom: gray
|
5 |
+
colorTo: green
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.12.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
+
short_description: Convert text/image/audio/video from src language to English
|
11 |
---
|
12 |
+
****************************
|
13 |
+
<p align="center">
|
14 |
+
Liked the setup? Put a like on top left, it takes only 2 seconds.
|
15 |
+
</p>
|
16 |
|
17 |
+
****************************
|
18 |
+
Replication
|
19 |
+
- Requirements
|
20 |
+
- Free API Key from https://detectlanguage.com/ for automatic language detection from text.
|
21 |
+
- GPU for `Whisper` model inference. It's slower in CPU.
|
22 |
+
- Notes
|
23 |
+
- `pytesseract` library (For image-to-text) is easier to install in linux machines.
|
24 |
+
- If you have GPU, you can go for more sophisticated image-to-text models.
|
25 |
+
- The image-to-text setup works best for non-decorative and normal sized fonts.
|
26 |
+
*******
|
27 |
+
|
28 |
+
The space consists of 2 parts: -
|
29 |
+
|
30 |
+
- Non-Reflective Ray Tracing - Ray emerge from origin [0,0] and interact with a perfectly absorbing surface kept at some distance.
|
31 |
+
- Reflective Ray Tracing - Ray emerge from origin [0,0] and interact with a perfectly reflecting surface kept at some distance.
|
32 |
+
********************************************************
|
33 |
+
|
34 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|