Spaces:
Sleeping
Sleeping
Download app.py from Imtaiz/custom-assistant2: direct link, hf CLI and curl.
- Browser
- Download file 468 Bytes
-
https://huggingface.co/spaces/Imtaiz/custom-assistant2/resolve/main/app.py
- Command line
-
hf download hf://spaces/Imtaiz/custom-assistant2/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Imtaiz/custom-assistant2/resolve/main/app.py
468 Bytes
| import streamlit as st | |
| from faq_interface import run_interface | |
| config = {'ASSISTANT_ID': 'asst_aiR8qJpUOFkVGzGIgGnQ7VOG', 'AGENT_NAME': 'Custom AI Assistant', 'LOGO_URL': 'https://i.ibb.co.com/m52d2Pv/lawyer.gif', 'AVATAR_CONFIG': {'user': 'https://tezzyboy.s3.amazonaws.com/avatars/user_20241221_185951_fd11a0ea.svg', 'assistant': 'https://tezzyboy.s3.amazonaws.com/avatars/user_20241221_185951_fd11a0ea.svg'}} | |
| if __name__ == "__main__": | |
| run_interface(config) | |