Spaces:
Runtime error
Runtime error
Commit
Β·
e150a4a
1
Parent(s):
05b7e51
Add feedback to demo
Browse files
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,
|