Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
-
from
|
4 |
|
5 |
maxim = 'quantity'
|
6 |
submaxims = ["The response provides a sufficient amount of information.",
|
@@ -10,7 +10,7 @@ checkbox_choices = [
|
|
10 |
["Yes", "No", "NA"]
|
11 |
]
|
12 |
|
13 |
-
conversation_data_sliced = load_from_jsonl('
|
14 |
max_conversation_length = max([len(conversation['transcript']) for conversation in conversation_data_sliced])
|
15 |
|
16 |
conversation = get_conversation(conversation_data_sliced)
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
+
from interface_utils import *
|
4 |
|
5 |
maxim = 'quantity'
|
6 |
submaxims = ["The response provides a sufficient amount of information.",
|
|
|
10 |
["Yes", "No", "NA"]
|
11 |
]
|
12 |
|
13 |
+
conversation_data_sliced = load_from_jsonl('./data/conversations_unlabeled_sliced.jsonl')
|
14 |
max_conversation_length = max([len(conversation['transcript']) for conversation in conversation_data_sliced])
|
15 |
|
16 |
conversation = get_conversation(conversation_data_sliced)
|