Spaces:
Build error
Build error
Download model_chat from gedeadi/code-generator: direct link, hf CLI and curl.
- Browser
- Download file 271 Bytes
-
https://huggingface.co/spaces/gedeadi/code-generator/resolve/main/model_chat
- Command line
-
hf download hf://spaces/gedeadi/code-generator/model_chat
-
curl -L -o model_chat https://huggingface.co/spaces/gedeadi/code-generator/resolve/main/model_chat
271 Bytes
| from gradio_client import Client | |
| client = Client("Qwen/Qwen2.5-Coder-demo") | |
| result = client.predict( | |
| query="Hello!!", | |
| history=[], | |
| system="You are Qwen, created by Alibaba Cloud. You are a helpful assistant.", | |
| radio="32B", | |
| api_name="/model_chat" | |
| ) | |
| print(result) |