Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,9 +77,7 @@ interface = gr.Interface(
|
|
| 77 |
],
|
| 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()
|
|
|
|
| 77 |
],
|
| 78 |
outputs="text",
|
| 79 |
description="Interact with ConvAI (Loaded with Hugging Face Transformers)",
|
|
|
|
| 80 |
live=True
|
| 81 |
)
|
|
|
|
| 82 |
# Launch the Gradio interface
|
| 83 |
interface.launch()
|