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

Add feedback to demo

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -50,6 +50,8 @@ class Interactive:
50
  def run(self, statement):
51
  if MODE == 'debug':
52
  return {
 
 
53
  'logit': 0.0,
54
  'logit_calibrated': 0.0,
55
  'score': 0.5,
 
50
  def run(self, statement):
51
  if MODE == 'debug':
52
  return {
53
+ 'timestamp': datetime.datetime.now().strftime('%Y%m%d-%H%M%S'),
54
+ 'statement': statement,
55
  'logit': 0.0,
56
  'logit_calibrated': 0.0,
57
  'score': 0.5,