Download code/interface/t.py from shahidul034/readCtrl_lambda: direct link, hf CLI and curl.
- Browser
- Download file 179 Bytes
-
https://huggingface.co/shahidul034/readCtrl_lambda/resolve/main/code/interface/t.py
- Command line
-
hf download hf://shahidul034/readCtrl_lambda/code/interface/t.py
-
curl -L -o t.py https://huggingface.co/shahidul034/readCtrl_lambda/resolve/main/code/interface/t.py
179 Bytes
| from gradio_client import Client | |
| client = Client("https://23833b5a465382100f.gradio.live/") | |
| result = client.predict( | |
| message="Hello!!", | |
| api_name="/chat_predict" | |
| ) | |
| print(result) |