Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def sentiment_analysis(text):
|
|
| 44 |
X_input_ids, X_attention_mask = preprocess_input_data(text, arabert_tokenizer)
|
| 45 |
predictions = model(X_input_ids)
|
| 46 |
a=predictions.numpy()
|
| 47 |
-
return
|
| 48 |
|
| 49 |
import gradio as gr
|
| 50 |
|
|
|
|
| 44 |
X_input_ids, X_attention_mask = preprocess_input_data(text, arabert_tokenizer)
|
| 45 |
predictions = model(X_input_ids)
|
| 46 |
a=predictions.numpy()
|
| 47 |
+
return a
|
| 48 |
|
| 49 |
import gradio as gr
|
| 50 |
|