Download app1/utils_test.py from debo106/llm: direct link, hf CLI and curl.
- Browser
- Download file 236 Bytes
-
https://huggingface.co/spaces/debo106/llm/resolve/main/app1/utils_test.py
- Command line
-
hf download hf://spaces/debo106/llm/app1/utils_test.py
-
curl -L -o utils_test.py https://huggingface.co/spaces/debo106/llm/resolve/main/app1/utils_test.py
236 Bytes
| from gpt_chat_handler_test import create_chat_response | |
| def llm_reply(user_input): | |
| messages = [{"role": "user", "content": user_input}] | |
| gpt_response=create_chat_response(messages) | |
| return[[user_input,gpt_response]] |