Spaces:
Paused
Paused
adhinojosa
commited on
Commit
•
4952929
1
Parent(s):
e863984
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import streamlit as st
|
|
5 |
text= st.text_area("Pregúntale a Don Simón")
|
6 |
|
7 |
if text:
|
8 |
-
answer = model(text,
|
9 |
if answer:
|
10 |
st.write(answer)
|
11 |
|
|
|
5 |
text= st.text_area("Pregúntale a Don Simón")
|
6 |
|
7 |
if text:
|
8 |
+
answer = model(text, max_new_tokens=25)
|
9 |
if answer:
|
10 |
st.write(answer)
|
11 |
|