Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -309,6 +309,6 @@ with gradio.Blocks() as demo:
|
|
309 |
btn = gradio.Button("Run")
|
310 |
img = gradio.Image(label="Transition")
|
311 |
btn.click(fn=interpolate, inputs=[t1, t2, d1, d2, th1, th2, steps], outputs=[img])
|
312 |
-
examples = gradio.Examples(examples=[["hamburger_box", "hot_dog_box", "1.0", "1.0", "2", "2", "20"]], inputs = [t1, t2, d1, d2, th1, th2, steps])
|
313 |
|
314 |
demo.launch(debug=True)
|
|
|
309 |
btn = gradio.Button("Run")
|
310 |
img = gradio.Image(label="Transition")
|
311 |
btn.click(fn=interpolate, inputs=[t1, t2, d1, d2, th1, th2, steps], outputs=[img])
|
312 |
+
examples = gradio.Examples(examples=[["hamburger_box", "hot_dog_box", "1.0", "1.0", "2", "2", "20"]], inputs = [t1, t2, d1, d2, th1, th2, steps], outputs = [img], cache_examples = True)
|
313 |
|
314 |
demo.launch(debug=True)
|