JamalAG commited on
Commit
76c5f65
·
1 Parent(s): 21ca8a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from transformers import pipeline
3
 
4
  # Load TinyLlama chatbot pipeline
5
- pipe = pipeline("text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0", torch_dtype="auto", device_map="auto")
6
 
7
  # Streamlit app header
8
  st.set_page_config(page_title="Chatbot Demo", page_icon="🤖")
 
2
  from transformers import pipeline
3
 
4
  # Load TinyLlama chatbot pipeline
5
+ pipe = pipeline("text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0", device_map="auto")
6
 
7
  # Streamlit app header
8
  st.set_page_config(page_title="Chatbot Demo", page_icon="🤖")