Spaces:
Running
Running
Download src/streamlit_app.py from KayHamla06/Milo_WBA: direct link, hf CLI and curl.
- Browser
- Download file 307 Bytes
-
https://huggingface.co/spaces/KayHamla06/Milo_WBA/resolve/main/src/streamlit_app.py
- Command line
-
hf download hf://spaces/KayHamla06/Milo_WBA/src/streamlit_app.py
-
curl -L -o streamlit_app.py https://huggingface.co/spaces/KayHamla06/Milo_WBA/resolve/main/src/streamlit_app.py
307 Bytes
| import streamlit as st | |
| from inference.milo_wba_inference import generate_reply | |
| st.title("🚀 Milo WhatsApp Business Assistant") | |
| user_input = st.text_input("You:", placeholder="Type a WhatsApp-style message...") | |
| if user_input: | |
| reply = generate_reply(user_input) | |
| st.markdown(f"**Milo:** {reply}") | |