adhinojosa commited on
Commit
5530cf0
1 Parent(s): 454550a

agrego modelo

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,4 +1,4 @@
1
- #from model import model
2
  from vectorstore import similarity_search
3
  import streamlit as st
4
 
@@ -6,9 +6,9 @@ import streamlit as st
6
  text= st.text_area("Preg煤ntale a Don Sim贸n")
7
 
8
  if text:
9
- answer = similarity_search(text,5)
10
- #answer = model(text,max_new_tokens=25)
11
-
12
  if answer:
13
  st.write(answer)
14
 
 
1
+ from model import model
2
  from vectorstore import similarity_search
3
  import streamlit as st
4
 
 
6
  text= st.text_area("Preg煤ntale a Don Sim贸n")
7
 
8
  if text:
9
+ #answer = similarity_search(text,5)
10
+ answer = model(text,max_new_tokens=25)
11
+
12
  if answer:
13
  st.write(answer)
14