Spaces:
Runtime error
Runtime error
PereLluis13
commited on
Commit
•
33a7ca5
1
Parent(s):
a419564
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
|
4 |
from time import time
|
5 |
import torch
|
6 |
|
7 |
-
@st.
|
8 |
allow_output_mutation=True,
|
9 |
hash_funcs={
|
10 |
AutoTokenizer: lambda x: None,
|
|
|
4 |
from time import time
|
5 |
import torch
|
6 |
|
7 |
+
@st.cache_resource(
|
8 |
allow_output_mutation=True,
|
9 |
hash_funcs={
|
10 |
AutoTokenizer: lambda x: None,
|