Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
-
|
|
|
|
|
3 |
model = "PY007/TinyLlama-1.1B-Chat-v0.1"
|
4 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
5 |
pipeline = transformers.pipeline(
|
|
|
1 |
import streamlit as st
|
2 |
+
from transformers import AutoTokenizer
|
3 |
+
import transformers
|
4 |
+
import torch
|
5 |
model = "PY007/TinyLlama-1.1B-Chat-v0.1"
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
7 |
pipeline = transformers.pipeline(
|