Spaces:
Runtime error
Runtime error
Richard3306
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,8 @@ new_path4 = "marianna13/byt5-small-NSFW-image-urls"
|
|
13 |
origin_path = "HuggingFaceH4/zephyr-7b-beta"
|
14 |
funny_path = "cognitivecomputations/WizardLM-7B-Uncensored"
|
15 |
funny_model = "AI-B/UTENA-7B-NSFW-V2"
|
16 |
-
|
|
|
17 |
|
18 |
|
19 |
def respond(
|
|
|
13 |
origin_path = "HuggingFaceH4/zephyr-7b-beta"
|
14 |
funny_path = "cognitivecomputations/WizardLM-7B-Uncensored"
|
15 |
funny_model = "AI-B/UTENA-7B-NSFW-V2"
|
16 |
+
translate_model = "utrobinmv/t5_translate_en_ru_zh_small_1024"
|
17 |
+
client = InferenceClient(translate_model)
|
18 |
|
19 |
|
20 |
def respond(
|