Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
import gradio as gr
|
3 |
import tensorflow as tf
|
4 |
|
5 |
-
model = tf.saved_model.load('
|
6 |
|
7 |
def sentiment_analysis(text):
|
8 |
prediction = model.predict(text)
|
|
|
2 |
import gradio as gr
|
3 |
import tensorflow as tf
|
4 |
|
5 |
+
model = tf.saved_model.load('arabert_pretrained')
|
6 |
|
7 |
def sentiment_analysis(text):
|
8 |
prediction = model.predict(text)
|