Rams901 commited on
Commit
5781a82
1 Parent(s): f82ca2d

Upload OpenSLU_Clone.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. 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(".")[0]
 
156
 
157
 
158
  def _get_task_name_from_data_url(data_url):
159
+ return data_url.split("/")[-1].split("_")[0]