Spaces:
Runtime error
Runtime error
Garrett Goon
commited on
Commit
·
9c4025a
1
Parent(s):
70c8f62
more tests
Browse files
app.py
CHANGED
|
@@ -64,6 +64,11 @@ with gr.Blocks() as demo:
|
|
| 64 |
label="Seed",
|
| 65 |
interactive=True,
|
| 66 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
generate_btn = gr.Button(label="Generate")
|
| 68 |
gallery = gr.Gallery(
|
| 69 |
label="Generated Images",
|
|
|
|
| 64 |
label="Seed",
|
| 65 |
interactive=True,
|
| 66 |
)
|
| 67 |
+
output = gr.Textbox(label="output", placeholder="output", interactive=False)
|
| 68 |
+
gr.Button("test").click(
|
| 69 |
+
lambda s: replace_concept_tokens(s), inputs=[prompt], outputs=output
|
| 70 |
+
)
|
| 71 |
+
|
| 72 |
generate_btn = gr.Button(label="Generate")
|
| 73 |
gallery = gr.Gallery(
|
| 74 |
label="Generated Images",
|