Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,6 @@ import streamlit as st
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# Load model from Hugging Face
|
| 5 |
-
@st.cache_resource
|
| 6 |
def load_model():
|
| 7 |
return pipeline("text-classification", model="Jayabaskar/Fintuned") # Use your uploaded model
|
| 8 |
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# Load model from Hugging Face
|
|
|
|
| 5 |
def load_model():
|
| 6 |
return pipeline("text-classification", model="Jayabaskar/Fintuned") # Use your uploaded model
|
| 7 |
|