title: Problem deploying streamlit webapp on heroku
body: <p>Everything works fine Locally.</p>
  <p>However when I try pushing the project to heroku, the following error comes up.
  <a href="https://i.stack.imgur.com/I9eaU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I9eaU.png" alt="enter image description here" /></a></p>
  <p>Here is my Procfile:
  <code>web: sh setup.sh &amp;&amp; streamlit run application.py</code></p>
  <p>setup.sh:</p>
  <pre><code>mkdir -p ~/.streamlit/
  
  echo &quot;\
  [general]\n\
  email = \&quot;__@gmail.com\&quot;\n\
  &quot; &gt; ~/.streamlit/credentials.toml
  
  echo &quot;\
  [server]\n\
  headless = true\n\
  enableCORS=false\n\
  port = $PORT\n\
  &quot; &gt; ~/.streamlit/config.toml
  </code></pre>
  <p>and requirements.txt:</p>
  <pre><code>streamlit==0.81.1
  pandas==1.1.0
  matplotlib==3.3.0
  plotly==4.14.3
  seaborn==0.11.1
  numpy==1.18.5
  scikit_learn==0.23.2
  </code></pre>
  <p>Although I'm new to this framework, I have a bit of understanding of python and a complete disaster with deploying live web app.</p>
  <p>Any one who can point me in the right direction?</p>
  <p>Your help is greatly anticipated and helpful.</p>