Spaces:
Runtime error
Runtime error
Malikeh Ehghaghi
commited on
Update dataset_list.py
Browse files- dataset_list.py +2 -1
dataset_list.py
CHANGED
|
@@ -34,6 +34,7 @@ class DatasetList:
|
|
| 34 |
dataset_name = f'{row.dataset_name}' if isinstance(row.dataset_name, str) else ''
|
| 35 |
question_type = f'{row.question_type}' if isinstance(row.question_type, str) else ''
|
| 36 |
count = f'{row.count}' if isinstance(row.count, str) else ''
|
|
|
|
| 37 |
lincense = f'<a href="{row.lincense}" target="_blank">Link</a>' if isinstance(row.lincense, str) else ''
|
| 38 |
huggingface_link = f'<a href="{row.huggingface_link}" target="_blank">HF Link</a>' if isinstance(row.huggingface_link, str) else ''
|
| 39 |
reference_paper = f'<a href="{row.reference_paper}" target="_blank">Link</a>' if isinstance(row.reference_paper, str) else ''
|
|
@@ -44,9 +45,9 @@ class DatasetList:
|
|
| 44 |
<td>{dataset_name}</td>
|
| 45 |
<td>{question_type}</td>
|
| 46 |
<td>{count}</td>
|
|
|
|
| 47 |
<td>{lincense}</td>
|
| 48 |
<td>{huggingface_link}</td>
|
| 49 |
-
<td>{reference_paper}</td>
|
| 50 |
<td>{brief_description}</td>
|
| 51 |
<td>{use_case}</td>
|
| 52 |
</tr>'''
|
|
|
|
| 34 |
dataset_name = f'{row.dataset_name}' if isinstance(row.dataset_name, str) else ''
|
| 35 |
question_type = f'{row.question_type}' if isinstance(row.question_type, str) else ''
|
| 36 |
count = f'{row.count}' if isinstance(row.count, str) else ''
|
| 37 |
+
reference_paper = f'<a href="{row.reference_paper}" target="_blank">Link</a>' if isinstance(row.reference_paper, str) else ''
|
| 38 |
lincense = f'<a href="{row.lincense}" target="_blank">Link</a>' if isinstance(row.lincense, str) else ''
|
| 39 |
huggingface_link = f'<a href="{row.huggingface_link}" target="_blank">HF Link</a>' if isinstance(row.huggingface_link, str) else ''
|
| 40 |
reference_paper = f'<a href="{row.reference_paper}" target="_blank">Link</a>' if isinstance(row.reference_paper, str) else ''
|
|
|
|
| 45 |
<td>{dataset_name}</td>
|
| 46 |
<td>{question_type}</td>
|
| 47 |
<td>{count}</td>
|
| 48 |
+
<td>{reference_paper}</td>
|
| 49 |
<td>{lincense}</td>
|
| 50 |
<td>{huggingface_link}</td>
|
|
|
|
| 51 |
<td>{brief_description}</td>
|
| 52 |
<td>{use_case}</td>
|
| 53 |
</tr>'''
|