Heroku, couldn't find that process type ,procfile not working?

hi, was wondering why i’m getting this error code when deploying my python app to Heroku, specifically trying to scale dynos:

(venv) (base) PhilippsMacBook:dash_app philippevo$ heroku ps:scale web=1

› Warning: heroku update available from 7.35.0 to 7.42.6.

Scaling dynos… !

▸ Couldn’t find that process type (web).

First time deplyoing, following from, Deploy your Dash App | Dash for Python Documentation | Plotly, made all the necessary files, and with the sample data successfully created an app. just having trouble when inserting my data into app.py, which returns code error 14 indicating i have no dynos. I’m guessing either something must be wrong with my ‘Procfile’ (‘web: gunicorn app:server’), or more likely just an error or troublesome import with my app code?

Here are the first few lines:

import json
import six.moves.urllib.request as urlreq
from six import PY3

import dash
import os
import dash_bio as dashbio
import dash_html_components as html
import dash_core_components as dcc
from dash.dependencies import Input, Output, State
import dash_table as dt
import dash_bootstrap_components as dbc
import csv
import ast

external_stylesheets = [‘https://codepen.io/chriddyp/pen/bWLwgP.css’] #[dbc.themes.LUX]

app = dash.Dash(name, external_stylesheets=external_stylesheets)

data = urlreq.urlopen(
https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/’ +

server = app.server
server.secret_key = os.environ.get(‘secret_key’, ‘secret’)

Already consulted; python - Couldn't find that process type, Heroku - Stack Overflow