Romanchik333 commited on
Commit
48efab6
·
verified ·
1 Parent(s): 5c7fd84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
4
  #sentencepiece no installed??
5
 
6
  translator = pipeline("translation_en_to_ru", model="Helsinki-NLP/opus-mt-en-ru")
7
- image_classifier = pipeline("image-classification", model="microsoft/resnet-50")
8
 
9
  def translate_to_russian(text):
10
  try:
 
4
  #sentencepiece no installed??
5
 
6
  translator = pipeline("translation_en_to_ru", model="Helsinki-NLP/opus-mt-en-ru")
7
+ image_classifier = pipeline("image-classification", model="microsoft/resnet-50", use_fast=False)
8
 
9
  def translate_to_russian(text):
10
  try: