Gayatrikh16 commited on
Commit
2567620
·
verified ·
1 Parent(s): 5f73c85

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
  # Initialize the Hugging Face pipeline
5
- pipe = pipeline("text2text-generation", model="google/flan-t5-small")
6
 
7
  # Function to get response from the model
8
  def get_response(input_text, keywords, blog_style, max_new_tokens=250):
 
2
  from transformers import pipeline
3
 
4
  # Initialize the Hugging Face pipeline
5
+ pipe = pipeline("text-generation", model="meta-llama/Llama-2-7b-chat-hf")
6
 
7
  # Function to get response from the model
8
  def get_response(input_text, keywords, blog_style, max_new_tokens=250):