Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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("text-generation", model="
|
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="mistralai/mathstral-7B-v0.1")
|
6 |
|
7 |
# Function to get response from the model
|
8 |
def get_response(input_text, keywords, blog_style, max_new_tokens=250):
|