Skip to content

Commit

Permalink
Don't need flask server? Keeps this similar to original.
Browse files Browse the repository at this point in the history
  • Loading branch information
lcarlaw committed Aug 27, 2024
1 parent efa9b6a commit 4b36d58
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
import os
import sys
import time
import uuid
#import uuid

import flask
#import flask
from dash import Dash, dcc, html, State, Input, Output
import dash_bootstrap_components as dbc

Expand Down Expand Up @@ -38,9 +38,11 @@
# Initialize the application layout. A unique session ID will be generated on each page
# load.
########################################################################################
server = flask.Flask(__name__)
app = Dash(__name__, external_stylesheets=[dbc.themes.CYBORG],
suppress_callback_exceptions=True, update_title=None, server=server)
suppress_callback_exceptions=True, update_title=None)
#server = flask.Flask(__name__)
#app = Dash(__name__, external_stylesheets=[dbc.themes.CYBORG],
# suppress_callback_exceptions=True, update_title=None, server=server)
app.title = "Radar Simulator"

def init_layout():
Expand Down

0 comments on commit 4b36d58

Please sign in to comment.