Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -78,8 +78,8 @@ interface = gr.Interface(
|
|
78 |
outputs="text",
|
79 |
description="Interact with ConvAI (Loaded with Hugging Face Transformers)",
|
80 |
button = gr.Button(label="Reset Chat History"),
|
81 |
-
interface.update(elem_id=button.elem_id, value=reset_history),
|
82 |
live=True
|
83 |
)
|
|
|
84 |
# Launch the Gradio interface
|
85 |
interface.launch()
|
|
|
78 |
outputs="text",
|
79 |
description="Interact with ConvAI (Loaded with Hugging Face Transformers)",
|
80 |
button = gr.Button(label="Reset Chat History"),
|
|
|
81 |
live=True
|
82 |
)
|
83 |
+
interface.update(elem_id=button.elem_id, value=reset_history),
|
84 |
# Launch the Gradio interface
|
85 |
interface.launch()
|