hamdie commited on
Commit
21f2830
1 Parent(s): 0a7e962

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 str(a)
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