Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,10 +9,10 @@ from transformers import pipeline
|
|
9 |
#do zero-shot classification of the output
|
10 |
#tts your output looks like "label of zero-shot"
|
11 |
|
12 |
-
asr = pipeline("automatic-speech-recognition"
|
13 |
latent = gr.Interface.load("spaces/multimodalart/latentdiffusion")
|
14 |
-
zero = pipeline("zero-shot-image-classification", model="openai/clip-vit-base-patch32")
|
15 |
-
tts = gr.Interface.load("spaces/osanseviero/tortoisse-tts")
|
16 |
|
17 |
def text2image_latent(text, steps, width, height, images, diversity):
|
18 |
print(text)
|
|
|
9 |
#do zero-shot classification of the output
|
10 |
#tts your output looks like "label of zero-shot"
|
11 |
|
12 |
+
asr = pipeline("automatic-speech-recognition")
|
13 |
latent = gr.Interface.load("spaces/multimodalart/latentdiffusion")
|
14 |
+
#zero = pipeline("zero-shot-image-classification", model="openai/clip-vit-base-patch32")
|
15 |
+
#tts = gr.Interface.load("spaces/osanseviero/tortoisse-tts")
|
16 |
|
17 |
def text2image_latent(text, steps, width, height, images, diversity):
|
18 |
print(text)
|