don_Simon / app.py
adhinojosa's picture
Update app.py
07c2c7d verified
raw
history blame
No virus
276 Bytes
#from model import model
from vectorstore import similarity_search
import streamlit as st
text= st.text_area("Pregúntale a Don Simón")
if text:
answer = similarity_search(text,5)
#answer = model(text,max_new_tokens=25)
if answer:
st.write(answer)