Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from transformers import pipeline
|
|
6 |
|
7 |
asr = pipeline("automatic-speech-recognition")
|
8 |
latent = gr.Interface.load("spaces/multimodalart/latentdiffusion")
|
9 |
-
zero = gr.Interface.load("Datatrooper/zero-shot-image-classification")
|
10 |
#tts = gr.Interface.load("spaces/osanseviero/tortoisse-tts")
|
11 |
|
12 |
def text2image_latent(text, steps, width, height, images, diversity):
|
@@ -44,10 +44,10 @@ def zero_shot(image, text_input):
|
|
44 |
|
45 |
with gr.Blocks() as demo:
|
46 |
gr.Markdown( """
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
""")
|
52 |
with gr.Row():
|
53 |
with gr.Column():
|
|
|
6 |
|
7 |
asr = pipeline("automatic-speech-recognition")
|
8 |
latent = gr.Interface.load("spaces/multimodalart/latentdiffusion")
|
9 |
+
zero = gr.Interface.load("spaces/Datatrooper/zero-shot-image-classification")
|
10 |
#tts = gr.Interface.load("spaces/osanseviero/tortoisse-tts")
|
11 |
|
12 |
def text2image_latent(text, steps, width, height, images, diversity):
|
|
|
44 |
|
45 |
with gr.Blocks() as demo:
|
46 |
gr.Markdown( """
|
47 |
+
## Input voice/text
|
48 |
+
## Convert voice/text to image via dalle
|
49 |
+
## Given list of labels and a selected image from gallery do zero-shot classification
|
50 |
+
## Coming soon: TTS(audio) your output label as: Your output looks like "label of zero-shot"
|
51 |
""")
|
52 |
with gr.Row():
|
53 |
with gr.Column():
|