title: how to run decision tree model file in command prompt
body: <p>I have created a small python app to predict results according to the decision tree model. I have created my decision tree model by using google Collab is there a way to connect the model file run in cmd? the app is working correctly in streamlit framework but I want to run the app in cmd and take the output in the customised HTML table</p>
  <p>this is the code that I have used and run in the streamlit frame work</p>
  <pre><code>import pickle
  import streamlit as st
  from unittest import result
  from sklearn.tree import DecisionTreeClassifier
  with open ('students_classifier.pickle','rb') as f:
      clf=pickle.load(f)
  def main():
      st.title(&quot;Students marks prediction&quot;)
  
      GNF = st.number_input('Grade 09 1st ')
      GNS = st.number_input('Grade 09 2nd ')
      GNT = st.number_input('Grade 09 3rd ')
      GTF = st.number_input('Grade 10 1st ')
      GTS = st.number_input('Grade 10 2nd ')
      GTT = st.number_input('Grade 10 3rd ')
      GEF = st.number_input('Grade 11 1st ')
      GES = st.number_input('Grade 11 2nd ')
      GET = st.number_input('Grade 11 3rd ')
  
      if st.button('sumbit'):
          result = clf.predict([(GNF,GNS,GNT,GTF,GTS,GTT,GEF,GES,GET)])
          if result == 0:
              st.success('A')
          elif result == 1:
              st.success('B')     
          elif result==2:
              st.success('C')
          elif result==3:
              st.success('S')
          else:
              st.success('W') 
  
  if __name__=='__main__':
      main()
  </code></pre>