2626def video_data_row_factory ():
2727 def video_data_row (global_key ):
2828 return {
29- "row_data" : "https://storage.googleapis.com/labelbox-datasets/video-sample- data/sample-video-1 .mp4" ,
30- "global_key" : f"https://storage.googleapis.com/labelbox-datasets/video-sample- data/sample-video-1 .mp4-{ global_key } " ,
29+ "row_data" : "https://storage.googleapis.com/lb-test- data/cataflow/media/test_video_500kb .mp4" ,
30+ "global_key" : f"https://storage.googleapis.com/lb-test- data/cataflow/media/test_video_500kb .mp4-{ global_key } " ,
3131 "media_type" : "VIDEO" ,
3232 }
3333
@@ -38,8 +38,8 @@ def video_data_row(global_key):
3838def audio_data_row_factory ():
3939 def audio_data_row (global_key ):
4040 return {
41- "row_data" : "https://storage.googleapis.com/labelbox-datasets/audio-sample- data/sample-audio-1 .mp3" ,
42- "global_key" : f"https://storage.googleapis.com/labelbox-datasets/audio-sample- data/sample-audio-1 .mp3-{ global_key } " ,
41+ "row_data" : "https://storage.googleapis.com/lb-test- data/cataflow/media/tomorrow-114848 .mp3" ,
42+ "global_key" : f"https://storage.googleapis.com/lb-test- data/cataflow/media/tomorrow-114848 .mp3-{ global_key } " ,
4343 "media_type" : "AUDIO" ,
4444 }
4545
@@ -82,8 +82,8 @@ def geospatial_data_row(global_key):
8282def html_data_row_factory ():
8383 def html_data_row (global_key ):
8484 return {
85- "row_data" : "https://storage.googleapis.com/labelbox-datasets/html_sample_data/sample_html_1 .html" ,
86- "global_key" : f"https://storage.googleapis.com/labelbox-datasets/html_sample_data/sample_html_1 .html-{ global_key } " ,
85+ "row_data" : "https://storage.googleapis.com/lb-test-data/cataflow/media/about .html" ,
86+ "global_key" : f"https://storage.googleapis.com/lb-test-data/cataflow/media/about .html-{ global_key } " ,
8787 }
8888
8989 return html_data_row
@@ -106,10 +106,10 @@ def document_data_row_factory():
106106 def document_data_row (global_key ):
107107 return {
108108 "row_data" : {
109- "pdf_url" : "https://storage.googleapis.com/labelbox-datasets/arxiv-pdf/ data/99-word-token-pdfs/0801.3483 .pdf" ,
110- "text_layer_url" : "https://storage.googleapis.com/labelbox-datasets/arxiv-pdf/ data/99-word-token-pdfs/0801.3483-lb -textlayer.json" ,
109+ "pdf_url" : "https://storage.googleapis.com/lb-test- data/cataflow/media/test-pdf .pdf" ,
110+ "text_layer_url" : "https://storage.googleapis.com/lb-test- data/cataflow/media/sample-pdf -textlayer.json" ,
111111 },
112- "global_key" : f"https://storage.googleapis.com/labelbox-datasets/arxiv-pdf/ data/99-word-token-pdfs/0801.3483 .pdf-{ global_key } " ,
112+ "global_key" : f"https://storage.googleapis.com/lb-test- data/cataflow/media/test-pdf .pdf-{ global_key } " ,
113113 "media_type" : "PDF" ,
114114 }
115115
@@ -120,28 +120,17 @@ def document_data_row(global_key):
120120def text_data_row_factory ():
121121 def text_data_row (global_key ):
122122 return {
123- "row_data" : "https://storage.googleapis.com/lb-artifacts-testing-public/sdk_integration_test/ sample-text-2 .txt" ,
124- "global_key" : f"https://storage.googleapis.com/lb-artifacts-testing-public/sdk_integration_test/ sample-text-2 .txt-{ global_key } " ,
123+ "row_data" : "https://storage.googleapis.com/lb-test-data/cataflow/media/ sample-text.txt" ,
124+ "global_key" : f"https://storage.googleapis.com/lb-test-data/cataflow/media/ sample-text.txt-{ global_key } " ,
125125 "media_type" : "TEXT" ,
126126 }
127127
128128 return text_data_row
129129
130130
131- @pytest .fixture (scope = "module" , autouse = True )
132- def llm_human_preference_data_row_factory ():
133- def llm_human_preference_data_row (global_key ):
134- return {
135- "row_data" : "https://storage.googleapis.com/labelbox-datasets/sdk_test/llm_prompt_response_conv.json" ,
136- "global_key" : global_key ,
137- }
138-
139- return llm_human_preference_data_row
140-
141-
142131@pytest .fixture (scope = "module" )
143132def mmc_data_row_url ():
144- return "https://storage.googleapis.com/labelbox-datasets/conversational_model_evaluation_sample/offline-model-chat-evaluation .json"
133+ return "https://storage.googleapis.com/lb-test-data/cataflow/media/sample-conversational-v2-4 .json"
145134
146135
147136@pytest .fixture (scope = "module" , autouse = True )
@@ -700,7 +689,7 @@ def llm_prompt_response_creation_dataset_with_data_row(
700689 global_key = str (uuid .uuid4 ())
701690
702691 convo_data = {
703- "row_data" : "https://storage.googleapis.com/labelbox-datasets/ conversational-sample-data/pairwise_shopping_2 .json" ,
692+ "row_data" : "https://storage.googleapis.com/lb-test-data/cataflow/media/sample- conversational-v2-4 .json" ,
704693 "global_key" : global_key ,
705694 }
706695
@@ -1321,7 +1310,7 @@ def segmentation_inference(prediction_id_mapping):
13211310 segmentation .update (
13221311 {
13231312 "mask" : {
1324- "instanceURI" : "https://storage.googleapis.com/labelbox-datasets/image_sample_data/raster_seg .png" ,
1313+ "instanceURI" : "https://storage.googleapis.com/lb-test-data/cataflow/media/dog .png" ,
13251314 "colorRGB" : (255 , 255 , 255 ),
13261315 }
13271316 }
0 commit comments