liujch1998 commited on
Commit
e150a4a
β€’
1 Parent(s): 05b7e51

Add feedback to demo

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -78,6 +78,8 @@ class Interactive:
78
  def runs(self, statements):
79
  if MODE == 'debug':
80
  return [{
 
 
81
  'logit': 0.0,
82
  'logit_calibrated': 0.0,
83
  'score': 0.5,
 
78
  def runs(self, statements):
79
  if MODE == 'debug':
80
  return [{
81
+ 'timestamp': datetime.datetime.now().strftime('%Y%m%d-%H%M%S'),
82
+ 'statement': statement,
83
  'logit': 0.0,
84
  'logit_calibrated': 0.0,
85
  'score': 0.5,