Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def process_image(image, label, is_stream):
|
|
84 |
return img, pd.DataFrame(extracted_landmarks)
|
85 |
|
86 |
|
87 |
-
hf_xxx =
|
88 |
hf_writer = gr.HuggingFaceDatasetSaver(hf_xxx, 'SL-base')
|
89 |
|
90 |
description = 'This application is an interface to generate data for sign language translation projects. This makes use of extracted landmark points of individuals performingg signing. \n INSTRUCTIONS ON USAGE \n 1. Position yout yourself in the input stream view \n 2. Enter the meaning of the sign in the corresponding textbox. \n 3. To constantly stream your images into the output stream and extract the landmarks uncheck the stop stream checkbox. \n 4. Do various positions/instancies of the sign and observe the landmarks in the output. \n 5. Check the stop stream checkbox when done. \n 6. Repeat process for other signs \n\n PS: All extracted datapoints are saved into a publicy available database.'
|
|
|
84 |
return img, pd.DataFrame(extracted_landmarks)
|
85 |
|
86 |
|
87 |
+
hf_xxx = os.environ.get('SLT')
|
88 |
hf_writer = gr.HuggingFaceDatasetSaver(hf_xxx, 'SL-base')
|
89 |
|
90 |
description = 'This application is an interface to generate data for sign language translation projects. This makes use of extracted landmark points of individuals performingg signing. \n INSTRUCTIONS ON USAGE \n 1. Position yout yourself in the input stream view \n 2. Enter the meaning of the sign in the corresponding textbox. \n 3. To constantly stream your images into the output stream and extract the landmarks uncheck the stop stream checkbox. \n 4. Do various positions/instancies of the sign and observe the landmarks in the output. \n 5. Check the stop stream checkbox when done. \n 6. Repeat process for other signs \n\n PS: All extracted datapoints are saved into a publicy available database.'
|