Spaces:
Runtime error
Runtime error
Gaurav Panwar
commited on
Commit
•
3421a55
1
Parent(s):
81875f1
Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,6 @@ import gradio as gr
|
|
2 |
import tensorflow as tf
|
3 |
disable_eager_execution()
|
4 |
from tensorflow.python.ops import array_ops
|
5 |
-
|
6 |
-
This should help you avoid the error related to `dtensor` import. Also, make sure that you have installed the required dependencies (gradio, tensorflow, numpy, pillow) in your environment or Colab notebook.
|
7 |
-
|
8 |
-
|
9 |
import numpy as np
|
10 |
from PIL import Image
|
11 |
|
|
|
2 |
import tensorflow as tf
|
3 |
disable_eager_execution()
|
4 |
from tensorflow.python.ops import array_ops
|
|
|
|
|
|
|
|
|
5 |
import numpy as np
|
6 |
from PIL import Image
|
7 |
|