Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def transcribe(microphone, file_upload):
|
|
| 27 |
warn_output = ""
|
| 28 |
if (microphone is not None) and (file_upload is not None):
|
| 29 |
warn_output = (
|
| 30 |
-
"WARNING: You've uploaded
|
| 31 |
"The recorded file from the microphone uploaded, transcribed and immediately discarded.\n"
|
| 32 |
)
|
| 33 |
|
|
@@ -93,7 +93,7 @@ A1 = gr.ChatInterface(predict,
|
|
| 93 |
A3 = gr.load(
|
| 94 |
"models/Salesforce/blip-image-captioning-large",
|
| 95 |
title=" ",
|
| 96 |
-
description="Take
|
| 97 |
outputs=[gr.Textbox(label="I see...")],
|
| 98 |
theme= gr.themes.Glass(primary_hue="neutral", neutral_hue="slate"))
|
| 99 |
|
|
@@ -102,7 +102,7 @@ A4 = gr.load(
|
|
| 102 |
inputs=[gr.Textbox(label="Enter Your Image Description")],
|
| 103 |
outputs=[gr.Image(label="Image")],
|
| 104 |
title=" ",
|
| 105 |
-
description="Bring Your Imagination Into Existence
|
| 106 |
allow_flagging="never",
|
| 107 |
examples=["A gigantic celtic leprechaun wandering the streets of downtown Atlanta","A child eating pizza in a Brazilian favela"])
|
| 108 |
|
|
|
|
| 27 |
warn_output = ""
|
| 28 |
if (microphone is not None) and (file_upload is not None):
|
| 29 |
warn_output = (
|
| 30 |
+
"WARNING: You've uploaded a recorded audio file . "
|
| 31 |
"The recorded file from the microphone uploaded, transcribed and immediately discarded.\n"
|
| 32 |
)
|
| 33 |
|
|
|
|
| 93 |
A3 = gr.load(
|
| 94 |
"models/Salesforce/blip-image-captioning-large",
|
| 95 |
title=" ",
|
| 96 |
+
description="Take a Photo or an Existing Image, Upload It, I'll Give You Its Description",
|
| 97 |
outputs=[gr.Textbox(label="I see...")],
|
| 98 |
theme= gr.themes.Glass(primary_hue="neutral", neutral_hue="slate"))
|
| 99 |
|
|
|
|
| 102 |
inputs=[gr.Textbox(label="Enter Your Image Description")],
|
| 103 |
outputs=[gr.Image(label="Image")],
|
| 104 |
title=" ",
|
| 105 |
+
description="Bring Your Imagination Into Existence And Create Unique Images With COLLEAGUE, Powered With Stable Diffusion",
|
| 106 |
allow_flagging="never",
|
| 107 |
examples=["A gigantic celtic leprechaun wandering the streets of downtown Atlanta","A child eating pizza in a Brazilian favela"])
|
| 108 |
|