Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ with gr.Blocks() as test:
|
|
72 |
msg = gr.Textbox()
|
73 |
clear = gr.Button("Clear")
|
74 |
msg.submit(textGPT2, [chatbot, msg], chatbot)
|
75 |
-
clear.click(fn=clear, None, chatbot, queue=False)
|
76 |
|
77 |
|
78 |
text = gr.Interface(fn=textGPT, inputs="text", outputs="text")
|
|
|
72 |
msg = gr.Textbox()
|
73 |
clear = gr.Button("Clear")
|
74 |
msg.submit(textGPT2, [chatbot, msg], chatbot)
|
75 |
+
clear.click(fn=clear, inputs=None, outputs=chatbot, queue=False)
|
76 |
|
77 |
|
78 |
text = gr.Interface(fn=textGPT, inputs="text", outputs="text")
|