File size: 276 Bytes
07c2c7d
 
c9328c0
29c48a3
c9328c0
5e7e0b5
c9328c0
 
07c2c7d
 
6bb2b3d
 
c9328c0
1
2
3
4
5
6
7
8
9
10
11
12
13
#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)