Richard3306 commited on
Commit
a42ac72
·
verified ·
1 Parent(s): e16c2ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- client = InferenceClient(origin_path)
 
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(