Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
from numpy import random
|
|
|
4 |
pipe = pipeline(model="fimster/whisper-small-sv-SE") # change to "your-username/the-name-you-picked"
|
5 |
images = ["katt", "melon", "hund", "banan"]
|
6 |
image = random.choice(images)
|
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
from numpy import random
|
4 |
+
from PIL import Image
|
5 |
pipe = pipeline(model="fimster/whisper-small-sv-SE") # change to "your-username/the-name-you-picked"
|
6 |
images = ["katt", "melon", "hund", "banan"]
|
7 |
image = random.choice(images)
|