Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -107,10 +107,10 @@ def text_to_image_and_image_to_text(text=None,image=None):
|
|
107 |
|
108 |
if __name__ == '__main__':
|
109 |
interFace = gr.Interface(fn=text_to_image_and_image_to_text,
|
110 |
-
inputs=[gr.inputs.Textbox(placeholder="Enter the text to Encode to an image", label="Text to Encode to Image ",lines=1,optional=True),gr.Image(type="pil",label="Image to Decode to text",optional=True)],
|
111 |
outputs=[gr.outputs.Image(type="pil", label="Encoded Image"),gr.outputs.Textbox( label="Decoded Text")],
|
112 |
title="T2I2T: Text2Image2Text imformation transmiter",
|
113 |
-
description="⭐️The next generation of QR codes, an information sharing tool via images
|
114 |
theme='gradio/soft'
|
115 |
)
|
116 |
interFace.launch()
|
|
|
107 |
|
108 |
if __name__ == '__main__':
|
109 |
interFace = gr.Interface(fn=text_to_image_and_image_to_text,
|
110 |
+
inputs=[gr.inputs.Textbox(placeholder="Enter the text to Encode to an image",value=None, label="Text to Encode to Image ",lines=1,optional=True),gr.Image(type="pil",value=None,label="Image to Decode to text",optional=True)],
|
111 |
outputs=[gr.outputs.Image(type="pil", label="Encoded Image"),gr.outputs.Textbox( label="Decoded Text")],
|
112 |
title="T2I2T: Text2Image2Text imformation transmiter",
|
113 |
+
description="⭐️The next generation of QR codes, an information sharing tool via images⭐️ Error rates are high & Image generation takes about 200 seconds.",
|
114 |
theme='gradio/soft'
|
115 |
)
|
116 |
interFace.launch()
|