Spaces:
Runtime error
Runtime error
Gaurav Panwar
commited on
Commit
•
81875f1
1
Parent(s):
6a410a0
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
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 |
|
|
|
1 |
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 |
|