Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ import gradio as gr
|
|
9 |
|
10 |
|
11 |
|
12 |
-
model = M2M100ForConditionalGeneration.from_pretrained("facebook/
|
13 |
-
tokenizer = M2M100Tokenizer.from_pretrained("facebook/
|
14 |
pipe = pipeline("zero-shot-image-classification", model="openai/clip-vit-base-patch32")
|
15 |
images="dog.jpg"
|
16 |
|
|
|
9 |
|
10 |
|
11 |
|
12 |
+
model = M2M100ForConditionalGeneration.from_pretrained("facebook/m2m100_418M")
|
13 |
+
tokenizer = M2M100Tokenizer.from_pretrained("facebook/m2m100_418M")
|
14 |
pipe = pipeline("zero-shot-image-classification", model="openai/clip-vit-base-patch32")
|
15 |
images="dog.jpg"
|
16 |
|