Spaces:
Build error
Build error
Download testing/sqlchat_test.py from pruth23/freegpt4-duplicated: direct link, hf CLI and curl.
- Browser
- Download file 181 Bytes
-
https://huggingface.co/spaces/pruth23/freegpt4-duplicated/resolve/main/testing/sqlchat_test.py
- Command line
-
hf download hf://spaces/pruth23/freegpt4-duplicated/testing/sqlchat_test.py
-
curl -L -o sqlchat_test.py https://huggingface.co/spaces/pruth23/freegpt4-duplicated/resolve/main/testing/sqlchat_test.py
181 Bytes
| import sqlchat | |
| for response in sqlchat.StreamCompletion.create(prompt='write python code to reverse a string', messages=[]): | |
| print(response.completion.choices[0].text, end='') | |