Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,11 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
#from datasets import load_dataset, Image
|
4 |
from huggingface_hub import from_pretrained_keras
|
|
|
5 |
|
|
|
6 |
|
7 |
-
model = from_pretrained_keras("jableable/road_model
|
8 |
|
9 |
#pipe = pipeline('sentiment-analysis')
|
10 |
#text = st.text_area('enter some text!')
|
|
|
2 |
from transformers import pipeline
|
3 |
#from datasets import load_dataset, Image
|
4 |
from huggingface_hub import from_pretrained_keras
|
5 |
+
import keras
|
6 |
|
7 |
+
loaded_model = keras.saving.load_model("best_model.keras")
|
8 |
|
9 |
+
#model = from_pretrained_keras("jableable/road_model")
|
10 |
|
11 |
#pipe = pipeline('sentiment-analysis')
|
12 |
#text = st.text_area('enter some text!')
|