abdullahmubeen10
commited on
Update Demo.py
Browse files
Demo.py
CHANGED
@@ -5,9 +5,12 @@ import pandas as pd
|
|
5 |
import librosa
|
6 |
|
7 |
from sparknlp.base import *
|
|
|
8 |
from sparknlp.annotator import *
|
9 |
from pyspark.ml import Pipeline
|
10 |
from sparknlp.pretrained import PretrainedPipeline
|
|
|
|
|
11 |
|
12 |
# Page configuration
|
13 |
st.set_page_config(
|
|
|
5 |
import librosa
|
6 |
|
7 |
from sparknlp.base import *
|
8 |
+
from sparknlp.common import *
|
9 |
from sparknlp.annotator import *
|
10 |
from pyspark.ml import Pipeline
|
11 |
from sparknlp.pretrained import PretrainedPipeline
|
12 |
+
from pyspark.sql.types import *
|
13 |
+
import pyspark.sql.functions as F
|
14 |
|
15 |
# Page configuration
|
16 |
st.set_page_config(
|