Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ import gradio as gr
|
|
5 |
import matplotlib.pyplot as plt
|
6 |
import numpy as np
|
7 |
from io import BytesIO
|
|
|
8 |
|
9 |
# Load model and tokenizer
|
10 |
tokenizer = AutoTokenizer.from_pretrained("nlptown/bert-base-multilingual-uncased-sentiment")
|
|
|
5 |
import matplotlib.pyplot as plt
|
6 |
import numpy as np
|
7 |
from io import BytesIO
|
8 |
+
from PIL import image
|
9 |
|
10 |
# Load model and tokenizer
|
11 |
tokenizer = AutoTokenizer.from_pretrained("nlptown/bert-base-multilingual-uncased-sentiment")
|