Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,12 +3,15 @@ from transformers import pipeline
|
|
3 |
#from datasets import load_dataset, Image
|
4 |
from huggingface_hub import from_pretrained_keras
|
5 |
|
6 |
-
pipe = pipeline('sentiment-analysis')
|
7 |
-
text = st.text_area('enter some text!')
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
#loaded_model = keras.saving.load_model("jableable/road_model")
|
14 |
|
|
|
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!')
|
11 |
+
|
12 |
+
#if text:
|
13 |
+
#out = pipe(text)
|
14 |
+
#st.json(out)
|
15 |
|
16 |
#loaded_model = keras.saving.load_model("jableable/road_model")
|
17 |
|