Spaces:
Running
Running
Commit
·
249560c
1
Parent(s):
8869bc8
updates
Browse files
app.py
CHANGED
@@ -13,6 +13,8 @@ import pandas as pd
|
|
13 |
load_dotenv()
|
14 |
|
15 |
video_pairs = pd.read_csv('file_pairs.csv')[['file_name', 'vista_id', 'gem_id']].values.tolist()
|
|
|
|
|
16 |
|
17 |
my_credentials = {
|
18 |
"type": "service_account",
|
@@ -189,7 +191,6 @@ def authenticate_user(email, state):
|
|
189 |
|
190 |
# Shuffle video pairs for this user
|
191 |
shuffled_pairs = video_pairs.copy()
|
192 |
-
random.shuffle(shuffled_pairs)
|
193 |
|
194 |
state.update({
|
195 |
'email': email,
|
@@ -238,6 +239,9 @@ with gr.Blocks() as demo:
|
|
238 |
gr.Markdown(
|
239 |
"""
|
240 |
You'll be seeing pairs of videos and asked to compare them based on visual quality, temporal consistency, and realistic dynamics.
|
|
|
|
|
|
|
241 |
**Please try to reduce your “No Preference” choices as much as you can.**
|
242 |
"""
|
243 |
)
|
|
|
13 |
load_dotenv()
|
14 |
|
15 |
video_pairs = pd.read_csv('file_pairs.csv')[['file_name', 'vista_id', 'gem_id']].values.tolist()
|
16 |
+
random.seed(42)
|
17 |
+
random.shuffle(video_pairs)
|
18 |
|
19 |
my_credentials = {
|
20 |
"type": "service_account",
|
|
|
191 |
|
192 |
# Shuffle video pairs for this user
|
193 |
shuffled_pairs = video_pairs.copy()
|
|
|
194 |
|
195 |
state.update({
|
196 |
'email': email,
|
|
|
239 |
gr.Markdown(
|
240 |
"""
|
241 |
You'll be seeing pairs of videos and asked to compare them based on visual quality, temporal consistency, and realistic dynamics.
|
242 |
+
|
243 |
+
**There are 99 videos in total. If you can complete at least 20-30 comparisons, that would be great!**
|
244 |
+
|
245 |
**Please try to reduce your “No Preference” choices as much as you can.**
|
246 |
"""
|
247 |
)
|