Spaces:
Running
Running
Shreyas094
commited on
Commit
•
d430f65
1
Parent(s):
7622b2d
Update app.py
Browse files
app.py
CHANGED
@@ -581,11 +581,7 @@ class ChatBot:
|
|
581 |
"fr": "French",
|
582 |
"de": "German",
|
583 |
"it": "Italian",
|
584 |
-
"pt": "Portuguese"
|
585 |
-
"ru": "Russian",
|
586 |
-
"zh": "Chinese",
|
587 |
-
"ja": "Japanese",
|
588 |
-
"ko": "Korean"
|
589 |
}
|
590 |
logger.info("ChatBot initialized successfully")
|
591 |
|
@@ -862,7 +858,7 @@ def create_gradio_interface() -> gr.Interface:
|
|
862 |
|
863 |
# Define language options
|
864 |
language_choices = [
|
865 |
-
"all", "en", "es", "fr", "de", "it", "pt"
|
866 |
]
|
867 |
|
868 |
# Create mapping for language display names
|
@@ -873,11 +869,7 @@ def create_gradio_interface() -> gr.Interface:
|
|
873 |
"fr": "French",
|
874 |
"de": "German",
|
875 |
"it": "Italian",
|
876 |
-
"pt": "Portuguese"
|
877 |
-
"ru": "Russian",
|
878 |
-
"zh": "Chinese",
|
879 |
-
"ja": "Japanese",
|
880 |
-
"ko": "Korean"
|
881 |
}
|
882 |
|
883 |
# Create the interface with all parameters
|
|
|
581 |
"fr": "French",
|
582 |
"de": "German",
|
583 |
"it": "Italian",
|
584 |
+
"pt": "Portuguese"
|
|
|
|
|
|
|
|
|
585 |
}
|
586 |
logger.info("ChatBot initialized successfully")
|
587 |
|
|
|
858 |
|
859 |
# Define language options
|
860 |
language_choices = [
|
861 |
+
"all", "en", "es", "fr", "de", "it", "pt"
|
862 |
]
|
863 |
|
864 |
# Create mapping for language display names
|
|
|
869 |
"fr": "French",
|
870 |
"de": "German",
|
871 |
"it": "Italian",
|
872 |
+
"pt": "Portuguese"
|
|
|
|
|
|
|
|
|
873 |
}
|
874 |
|
875 |
# Create the interface with all parameters
|