Spaces:
Paused
Paused
fix recent_gallery
Browse files
app.py
CHANGED
@@ -408,6 +408,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
408 |
label="Prompt and Output",
|
409 |
columns=3)
|
410 |
|
|
|
|
|
|
|
|
|
411 |
def update_recent_gallery(prompt, results):
|
412 |
recent_generations.append({
|
413 |
"prompt": prompt,
|
|
|
408 |
label="Prompt and Output",
|
409 |
columns=3)
|
410 |
|
411 |
+
recent_gallery.change(lambda ex: ex,
|
412 |
+
inputs=[recent_gallery],
|
413 |
+
outputs=[])
|
414 |
+
|
415 |
def update_recent_gallery(prompt, results):
|
416 |
recent_generations.append({
|
417 |
"prompt": prompt,
|