Buckets:

download
raw
622 Bytes
import gradio as gr
with gr.Blocks() as demo:
with gr.Walkthrough(selected=0) as walkthrough:
with gr.Step("Image", id=0):
image = gr.Image()
btn = gr.Button("go to prompt")
btn.click(lambda: gr.Walkthrough(selected=1), outputs=walkthrough)
with gr.Step("Prompt", id=1):
prompt = gr.Textbox()
btn = gr.Button("generate")
btn.click(lambda: gr.Walkthrough(selected=2), outputs=walkthrough)
with gr.Step("Result", id=2):
gr.Image(label="result", interactive=False)
if __name__ == "__main__":
demo.launch()

Xet Storage Details

Size:
622 Bytes
·
Xet hash:
e53377c4cdfae9620e0df89f647d3f005b37d359c0b248288341f19cf57ff78f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.