Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def to_md(text):
|
|
8 |
# return text.replace("\n", "<br />")
|
9 |
return text.replace("\n", "<br />")
|
10 |
|
11 |
-
@st.cache
|
12 |
def infer(
|
13 |
prompt,
|
14 |
model_name,
|
@@ -262,7 +262,7 @@ def main():
|
|
262 |
prompt = prompt_area.text_area(
|
263 |
"Prompt",
|
264 |
value=st.session_state.prompt,
|
265 |
-
max_chars=
|
266 |
height=500,
|
267 |
)
|
268 |
|
|
|
8 |
# return text.replace("\n", "<br />")
|
9 |
return text.replace("\n", "<br />")
|
10 |
|
11 |
+
# @st.cache
|
12 |
def infer(
|
13 |
prompt,
|
14 |
model_name,
|
|
|
262 |
prompt = prompt_area.text_area(
|
263 |
"Prompt",
|
264 |
value=st.session_state.prompt,
|
265 |
+
max_chars=8000,
|
266 |
height=500,
|
267 |
)
|
268 |
|