Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
|
4 |
|
5 |
# Set the logger to display only CRITICAL messages
|
6 |
logging.basicConfig(level=logging.CRITICAL)
|
7 |
-
|
8 |
|
9 |
# Cache the model and tokenizer to avoid reloading it every time
|
10 |
@st.experimental_singleton
|
|
|
4 |
|
5 |
# Set the logger to display only CRITICAL messages
|
6 |
logging.basicConfig(level=logging.CRITICAL)
|
7 |
+
|
8 |
|
9 |
# Cache the model and tokenizer to avoid reloading it every time
|
10 |
@st.experimental_singleton
|