Samuel L Meyers
commited on
Commit
·
51c3d28
1
Parent(s):
b485695
Work
Browse files- code/app.py +1 -1
code/app.py
CHANGED
@@ -28,6 +28,6 @@ with gr.Blocks() as demo:
|
|
28 |
with gr.Column():
|
29 |
txt2b64_out = gr.Image()
|
30 |
txt2img_btn.click(fn=gradio_txt2img, inputs=txt2img_prompt, outputs=txt2img_out, queue=True, api_name="gradio_txt2img")
|
31 |
-
txt2b64_btn.click(fn=
|
32 |
|
33 |
demo.launch()
|
|
|
28 |
with gr.Column():
|
29 |
txt2b64_out = gr.Image()
|
30 |
txt2img_btn.click(fn=gradio_txt2img, inputs=txt2img_prompt, outputs=txt2img_out, queue=True, api_name="gradio_txt2img")
|
31 |
+
txt2b64_btn.click(fn=api_txt2base64, inputs=txt2b64_prompt, outputs=txt2b64_out, queue=True, api_name="gradio_txt2b64")
|
32 |
|
33 |
demo.launch()
|