jableable commited on
Commit
c1963d4
1 Parent(s): c197a96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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/best_model.keras")
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!')