Spaces:
Build error
Build error
Download app.py from Imtaiz/custom-assistant7: direct link, hf CLI and curl.
- Browser
- Download file 704 Bytes
-
https://huggingface.co/spaces/Imtaiz/custom-assistant7/resolve/main/app.py
- Command line
-
hf download hf://spaces/Imtaiz/custom-assistant7/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Imtaiz/custom-assistant7/resolve/main/app.py
704 Bytes
| import streamlit as st | |
| from faq_interface import run_interface | |
| config = {'ASSISTANT_ID': 'asst_aiR8qJpUOFkVGzGIgGnQ7VOG', 'AGENT_NAME': 'Custom AI Assistant', 'AGENT_SUBTITLE': 'Your Personal AI Helper', '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'}, 'THEME': {'PRIMARY_COLOR': '#6B46C1', 'SECONDARY_COLOR': '#805AD5', 'BACKGROUND_COLOR': '#FFFFFF', 'TEXT_COLOR': '#333333'}, 'WIDGET': {'HEADER_COLOR': '#6B46C1', 'BUTTON_COLOR': '#805AD5'}} | |
| if __name__ == "__main__": | |
| run_interface(config) | |