minemaster01 commited on
Commit
3ad56ca
·
verified ·
1 Parent(s): 4ae931c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ def infer_and_log(text_input):
105
  print(f"Error uploading log: {e}")
106
  tokens = text_input.split()
107
 
108
- formatted_output = " ".join(f'<span style= color:{color}">{token}</span>' for token, color in zip(tokens, word_colors))
109
  return formatted_output, word_probs
110
 
111
  def clear_fields():
 
105
  print(f"Error uploading log: {e}")
106
  tokens = text_input.split()
107
 
108
+ formatted_output = " ".join(f'<span style= "color:{color}">{token}</span>' for token, color in zip(tokens, word_colors))
109
  return formatted_output, word_probs
110
 
111
  def clear_fields():