🎬 inference cache
Browse files
app.py
CHANGED
@@ -7,7 +7,6 @@ import streamlit as st
|
|
7 |
|
8 |
PRETRAINED = "raynardj/wenyanwen-chinese-translate-to-ancient"
|
9 |
|
10 |
-
@st.cache(max_entries=1200)
|
11 |
def inference(text):
|
12 |
tk_kwargs = dict(
|
13 |
truncation=True,
|
|
|
7 |
|
8 |
PRETRAINED = "raynardj/wenyanwen-chinese-translate-to-ancient"
|
9 |
|
|
|
10 |
def inference(text):
|
11 |
tk_kwargs = dict(
|
12 |
truncation=True,
|