Skip to content

Commit

Permalink
change the button style
Browse files Browse the repository at this point in the history
  • Loading branch information
yilinxia committed Feb 7, 2025
1 parent dd6df3b commit 3c2dd2c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
**/__pycache__/
**.DS_Store
**.DS_Store
**/temp/
3 changes: 1 addition & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from server import server
from layout import layout
import callbacks

app = dash.Dash(
__name__,
Expand All @@ -20,5 +19,5 @@
app.layout = layout

if __name__ == "__main__":
app.run(host="0.0.0.0", port=8050, debug=True)
app.run(host="0.0.0.0", port=8050, debug=False)

1 change: 1 addition & 0 deletions src/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ def evaluate_abstract_argumentation_framework(
all_argument_buttons = [
dbc.Button(
arg,
outline=True,
color=(
"danger" if gr_status_by_arg[arg] == "defeated" else
"primary" if gr_status_by_arg[arg] == "accepted" else "warning"
Expand Down

0 comments on commit 3c2dd2c

Please sign in to comment.