Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,7 +70,7 @@ def sentiment_analysis(text):
|
|
| 70 |
X_input_ids, X_attention_mask = preprocess_input_data(text, arabert_tokenizer)
|
| 71 |
predictions = modelez(X_input_ids)
|
| 72 |
a=predictions.numpy()
|
| 73 |
-
return a
|
| 74 |
|
| 75 |
import gradio as gr
|
| 76 |
|
|
|
|
| 70 |
X_input_ids, X_attention_mask = preprocess_input_data(text, arabert_tokenizer)
|
| 71 |
predictions = modelez(X_input_ids)
|
| 72 |
a=predictions.numpy()
|
| 73 |
+
return str(a)
|
| 74 |
|
| 75 |
import gradio as gr
|
| 76 |
|