Spaces:
Runtime error
Runtime error
liujch1998
commited on
Commit
β’
05b7e51
1
Parent(s):
c752f9e
Add feedback to demo
Browse files
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,
|