kargaranamir commited on
Commit
fd765b6
1 Parent(s): 1984eb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -126,13 +126,13 @@ model_2 = load_GlotLID_v2(constants.MODEL_NAME, "model_v2.bin")
126
  def plot(label, prob):
127
 
128
  ORANGE_COLOR = "#FF8000"
129
- BLACK_COLOR = "#000000"
130
  fig, ax = plt.subplots(figsize=(8, 1))
131
  fig.patch.set_facecolor("none")
132
  ax.set_facecolor("none")
133
 
134
- ax.spines["left"].set_color(ORANGE_COLOR)
135
- ax.spines["bottom"].set_color(ORANGE_COLOR)
136
  ax.tick_params(axis="x", colors=BLACK_COLOR)
137
 
138
  ax.spines[["right", "top"]].set_visible(False)
 
126
  def plot(label, prob):
127
 
128
  ORANGE_COLOR = "#FF8000"
129
+ BLACK_COLOR = "##31333F"
130
  fig, ax = plt.subplots(figsize=(8, 1))
131
  fig.patch.set_facecolor("none")
132
  ax.set_facecolor("none")
133
 
134
+ ax.spines["left"].set_color(BLACK_COLOR)
135
+ ax.spines["bottom"].set_color(BLACK_COLOR)
136
  ax.tick_params(axis="x", colors=BLACK_COLOR)
137
 
138
  ax.spines[["right", "top"]].set_visible(False)