Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def greet(inp, messages):
|
|
6 |
return "Hello " + inp + "!"
|
7 |
|
8 |
def clear_memory(messages):
|
9 |
-
messages
|
10 |
return "Memory cleaned."
|
11 |
|
12 |
with gr.Blocks() as demo:
|
|
|
6 |
return "Hello " + inp + "!"
|
7 |
|
8 |
def clear_memory(messages):
|
9 |
+
messages.clear()
|
10 |
return "Memory cleaned."
|
11 |
|
12 |
with gr.Blocks() as demo:
|