Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
import
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
from sklearn.preprocessing import OneHotEncoder
|
@@ -14,7 +14,6 @@ import matplotlib.pyplot as plt
|
|
14 |
import seaborn as sns
|
15 |
|
16 |
warnings.filterwarnings('ignore', category=FutureWarning, module='huggingface_hub.file_download')
|
17 |
-
|
18 |
# Download necessary NLTK data
|
19 |
nltk.download('vader_lexicon', quiet=True)
|
20 |
nltk.download('punkt', quiet=True)
|
|
|
1 |
+
import warnings
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
from sklearn.preprocessing import OneHotEncoder
|
|
|
14 |
import seaborn as sns
|
15 |
|
16 |
warnings.filterwarnings('ignore', category=FutureWarning, module='huggingface_hub.file_download')
|
|
|
17 |
# Download necessary NLTK data
|
18 |
nltk.download('vader_lexicon', quiet=True)
|
19 |
nltk.download('punkt', quiet=True)
|