Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
aherrasf
/
prueba2
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
prueba2
/
cliente.js
aherrasf
nada
22133e6
10 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
202 Bytes
import
{
Client
}
from
"@gradio/client"
;
const
client =
await
Client
.
connect
(
"aherrasf/prueba2"
);
const
result =
await
client.
predict
(
"/predict"
, {
name
:
"Hello!!"
,
});
console
.
log
(result.
data
);