abdullahmubeen10 commited on
Commit
4cb6f8e
1 Parent(s): 04a38a0

Update Demo.py

Browse files
Files changed (1) hide show
  1. Demo.py +2 -2
Demo.py CHANGED
@@ -71,8 +71,8 @@ def create_pipeline(n):
71
 
72
  # Function to fit data to the pipeline and get results
73
  @st.cache_resource
74
- def fit_data(light_pipeline, data):
75
- return light_pipeline.fullAnnotate(data)
76
 
77
  # Set up the page layout
78
  st.markdown('<div class="main-title">State-of-the-Art NGram Generation with Spark NLP</div>', unsafe_allow_html=True)
 
71
 
72
  # Function to fit data to the pipeline and get results
73
  @st.cache_resource
74
+ def fit_data(_light_pipeline, data):
75
+ return _light_pipeline.fullAnnotate(data)
76
 
77
  # Set up the page layout
78
  st.markdown('<div class="main-title">State-of-the-Art NGram Generation with Spark NLP</div>', unsafe_allow_html=True)