Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,7 @@ import time
|
|
10 |
import uuid
|
11 |
import soundfile as sf
|
12 |
from model import get_pretrained_model, language_to_models
|
|
|
13 |
|
14 |
#text to speech code from https://huggingface.co/spaces/k2-fsa/text-to-speech/blob/main/app.py
|
15 |
image_to_text_model = pipeline("image-classification",model="microsoft/beit-base-patch16-224-pt22k-ft22k")
|
|
|
10 |
import uuid
|
11 |
import soundfile as sf
|
12 |
from model import get_pretrained_model, language_to_models
|
13 |
+
# demo for a input given image transform into text interpretation, and those text put a speech text to be played
|
14 |
|
15 |
#text to speech code from https://huggingface.co/spaces/k2-fsa/text-to-speech/blob/main/app.py
|
16 |
image_to_text_model = pipeline("image-classification",model="microsoft/beit-base-patch16-224-pt22k-ft22k")
|