mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
changes
This commit is contained in:
parent
5c279d2253
commit
80f4232a64
@ -27,7 +27,8 @@ var io_master_template = {
|
||||
}
|
||||
this.fn(this.last_input).then((output) => {
|
||||
io.output(output);
|
||||
}).catch(() => {
|
||||
}).catch((error) => {
|
||||
console.error(error)
|
||||
this.target.find(".loading_in_progress").hide();
|
||||
this.target.find(".loading_failed").show();
|
||||
})
|
||||
|
@ -27,7 +27,8 @@ var io_master_template = {
|
||||
}
|
||||
this.fn(this.last_input).then((output) => {
|
||||
io.output(output);
|
||||
}).catch(() => {
|
||||
}).catch((error) => {
|
||||
console.error(error)
|
||||
this.target.find(".loading_in_progress").hide();
|
||||
this.target.find(".loading_failed").show();
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user