Spaces:
Sleeping
Sleeping
| import streamlit as st | |
| from llmware.models import ModelCatalog | |
| st.title("๐ My new app") | |
| st.write( | |
| "Let's start building! For help and inspiration, head over to [docs.streamlit.io](https://docs.streamlit.io/)." | |
| ) | |
| model = ModelCatalog().load_model("bling-answer-tool") | |
| model = ModelCatalog().load_model("bling-answer-tool") | |
| prompt = "My son is 21 years old.\nHow old is my son?" | |
| response = model.inference(prompt) | |
| st.write("\nPrompt: ", prompt) | |
| st.write("\nResponse: ", response) | |