mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-30 11:00:11 +08:00
add text io
This commit is contained in:
parent
757df85246
commit
cddf60d976
@ -2,7 +2,7 @@ $('body').on('click', '.clear', function(e) {
|
||||
$(".input_text").val("");
|
||||
})
|
||||
$('body').on('click', '.submit', function(e) {
|
||||
text = $(".input_text").text();
|
||||
text = $(".input_text").val();
|
||||
ws.send(text, function(e){
|
||||
notifyError(e)
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user