toto10's picture
Upload folder using huggingface_hub (#1)
34097e9
raw
history blame
940 Bytes
<div class="feed-tab-header" style="display:flex;width:100%;justify-content:space-between;" id="lora-search-table">
<input value="" id="lora-download-url" style="display:none;"/>
<input value="" id="lora-filename" style="display:none;"/>
<table v-if="loraList.length>0">
<thead>
<th>File Name</th>
<th></th>
</thead>
<tbody>
<template v-for="(loraData, j) in loraList" :key="j">
<tr>
<td>{{loraData.fileName}}</td>
<template v-if="loraData.downloadUrl != ''">
<td><button @click="setUrlData(loraData.downloadUrl, loraData.fileName)">Download</button></td>
</template>
<template v-else>
<td>Not Found OTL</td>
</template>
</tr>
</template>
</tbody>
</table>
</div>