Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from langdetect import detect
|
|
4 |
|
5 |
# Load translation pipeline (you can change to another model)
|
6 |
translator = pipeline("translation", model="IndicTrans2")
|
7 |
-
|
8 |
|
9 |
# Supported languages and their model codes
|
10 |
language_models = {
|
|
|
4 |
|
5 |
# Load translation pipeline (you can change to another model)
|
6 |
translator = pipeline("translation", model="IndicTrans2")
|
7 |
+
|
8 |
|
9 |
# Supported languages and their model codes
|
10 |
language_models = {
|