antonbol commited on
Commit
043f2c8
·
1 Parent(s): b173c12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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)