acbdkk commited on
Commit
0d58376
1 Parent(s): 763d6cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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(