Spaces:
Sleeping
Sleeping
kz209
commited on
Commit
·
a797164
1
Parent(s):
96b2814
update
Browse files- pages/arena.py +2 -0
pages/arena.py
CHANGED
@@ -8,6 +8,8 @@ from utils.multiple_stream import stream_data
|
|
8 |
from pages.summarization_playground import get_model_batch_generation
|
9 |
from pages.summarization_playground import custom_css
|
10 |
|
|
|
|
|
11 |
def random_data_selection():
|
12 |
datapoint = random.choice(dataset)
|
13 |
datapoint = datapoint['section_text'] + '\n\nDialogue:\n' + datapoint['dialogue']
|
|
|
8 |
from pages.summarization_playground import get_model_batch_generation
|
9 |
from pages.summarization_playground import custom_css
|
10 |
|
11 |
+
global global_selected_choice
|
12 |
+
|
13 |
def random_data_selection():
|
14 |
datapoint = random.choice(dataset)
|
15 |
datapoint = datapoint['section_text'] + '\n\nDialogue:\n' + datapoint['dialogue']
|