Upload OpenSLU_Clone.py with huggingface_hub
Browse files- OpenSLU_Clone.py +1 -1
OpenSLU_Clone.py
CHANGED
@@ -156,4 +156,4 @@ def _get_record_answers(qa):
|
|
156 |
|
157 |
|
158 |
def _get_task_name_from_data_url(data_url):
|
159 |
-
return data_url.split("/")[-1].split("
|
|
|
156 |
|
157 |
|
158 |
def _get_task_name_from_data_url(data_url):
|
159 |
+
return data_url.split("/")[-1].split("_")[0]
|