Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,11 +1,9 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from PIL import Image
|
| 3 |
-
|
| 4 |
-
# Available backend options are: "jax", "tensorflow", "torch".
|
| 5 |
import os
|
|
|
|
| 6 |
os.environ["KERAS_BACKEND"] = "tensorflow"
|
| 7 |
-
|
| 8 |
-
import keras
|
| 9 |
|
| 10 |
model = keras.saving.load_model("hf://ElBeh/ma_basemodel")
|
| 11 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from PIL import Image
|
| 3 |
+
import keras
|
|
|
|
| 4 |
import os
|
| 5 |
+
|
| 6 |
os.environ["KERAS_BACKEND"] = "tensorflow"
|
|
|
|
|
|
|
| 7 |
|
| 8 |
model = keras.saving.load_model("hf://ElBeh/ma_basemodel")
|
| 9 |
|