Spaces:
Sleeping
Sleeping
robert
commited on
Commit
·
5c5d824
1
Parent(s):
b68dd3b
Fixing the clear button to not throw error
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ with gr.Blocks() as demo:
|
|
122 |
submit_button = gr.Button("Submit")
|
123 |
|
124 |
with gr.Row():
|
125 |
-
clear = gr.ClearButton([msg
|
126 |
|
127 |
def respond(
|
128 |
message: str,
|
|
|
122 |
submit_button = gr.Button("Submit")
|
123 |
|
124 |
with gr.Row():
|
125 |
+
clear = gr.ClearButton([msg])
|
126 |
|
127 |
def respond(
|
128 |
message: str,
|