Spaces:
Sleeping
Sleeping
Merge branch 'main' of https://huggingface.co/spaces/danilommarano/digit-recognition
Browse files
app.py
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
import tensorflow as tf
|
2 |
import gradio as gr
|
|
|
|
|
|
|
3 |
|
4 |
model = tf.keras.models.load_model('model.h5')
|
5 |
|
|
|
1 |
import tensorflow as tf
|
2 |
import gradio as gr
|
3 |
+
import os
|
4 |
+
os.system("pip uninstall -y gradio")
|
5 |
+
os.system("pip install gradio==3.50.2")
|
6 |
|
7 |
model = tf.keras.models.load_model('model.h5')
|
8 |
|