Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
|
6 |
dataset = load_dataset("JustKiddo/KiddosVault")
|
7 |
|
8 |
## A translation dataset for Vietnamese responses ##
|
9 |
-
translation = load_dataset("
|
10 |
trust_remote_code=True ## Trust remote code ##
|
11 |
|
12 |
def translate_text(text, translation_dataset):
|
|
|
6 |
dataset = load_dataset("JustKiddo/KiddosVault")
|
7 |
|
8 |
## A translation dataset for Vietnamese responses ##
|
9 |
+
translation = load_dataset("mt_eng_vietnamese")
|
10 |
trust_remote_code=True ## Trust remote code ##
|
11 |
|
12 |
def translate_text(text, translation_dataset):
|