mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
view_api instead of view_info (#6773)
This commit is contained in:
parent
1459119c6e
commit
a3cf90e57b
@ -112,7 +112,7 @@ import { client } from "@gradio/client";
|
||||
|
||||
const app = await client("abidlabs/whisper");
|
||||
|
||||
const app_info = await app.view_info();
|
||||
const app_info = await app.view_api();
|
||||
|
||||
console.log(app_info);
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user