Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
from PIL import Image
|
3 |
import tensorflow as tf
|
4 |
-
from tensorflow.keras.models import load_model
|
5 |
import numpy as np
|
6 |
import os
|
7 |
from tensorflow.keras.layers import LSTM
|
@@ -63,4 +62,6 @@ def run():
|
|
63 |
else:
|
64 |
st.error("Failed to predict CAPTCHA.")
|
65 |
|
66 |
-
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
from PIL import Image
|
3 |
import tensorflow as tf
|
|
|
4 |
import numpy as np
|
5 |
import os
|
6 |
from tensorflow.keras.layers import LSTM
|
|
|
62 |
else:
|
63 |
st.error("Failed to predict CAPTCHA.")
|
64 |
|
65 |
+
# Run the Streamlit app
|
66 |
+
if __name__ == "__main__":
|
67 |
+
run()
|