Spaces:
Running
Running
task: enable native gradio image share
#8
by
ibombonato
- opened
app.py
CHANGED
@@ -256,7 +256,7 @@ with gr.Blocks() as demo:
|
|
256 |
image_coupon_code_input = gr.Textbox(label="Coupon Code", placeholder="Enter coupon code...")
|
257 |
gen_image_btn = gr.Button("Generate Image")
|
258 |
with gr.Column():
|
259 |
-
image_output = gr.Image(label="Generated Image", height=500, type="filepath", interactive=False)
|
260 |
base64_debug_output = gr.Textbox(label="Base64 Debug Output", visible=True, interactive=False)
|
261 |
share_button = gr.Button("π Share Image", interactive=False)
|
262 |
|
|
|
256 |
image_coupon_code_input = gr.Textbox(label="Coupon Code", placeholder="Enter coupon code...")
|
257 |
gen_image_btn = gr.Button("Generate Image")
|
258 |
with gr.Column():
|
259 |
+
image_output = gr.Image(label="Generated Image", height=500, type="filepath", interactive=False, show_share_button=True)
|
260 |
base64_debug_output = gr.Textbox(label="Base64 Debug Output", visible=True, interactive=False)
|
261 |
share_button = gr.Button("π Share Image", interactive=False)
|
262 |
|