Spaces:
Sleeping
Sleeping
Download src/app.py from VelaTest/PhysioAssist: direct link, hf CLI and curl.
- Browser
- Download file 410 Bytes
-
https://huggingface.co/spaces/VelaTest/PhysioAssist/resolve/main/src/app.py
- Command line
-
hf download hf://spaces/VelaTest/PhysioAssist/src/app.py
-
curl -L -o app.py https://huggingface.co/spaces/VelaTest/PhysioAssist/resolve/main/src/app.py
410 Bytes
| import streamlit as st | |
| from streamlit_app import model,home_page | |
| import numpy as np | |
| from sklearn.metrics.pairwise import cosine_similarity | |
| import time | |
| def main(): | |
| home_page.page_config() | |
| home_page.page_title() | |
| username = home_page.get_or_greet_user_name() | |
| if username: | |
| home_page.display_chat() | |
| home_page.handle_user_input() | |
| if __name__ == "__main__": | |
| main() | |