multimodalart HF staff commited on
Commit
b2cc814
1 Parent(s): 8971c45

Update share_btn.py

Browse files
Files changed (1) hide show
  1. share_btn.py +6 -6
share_btn.py CHANGED
@@ -53,14 +53,14 @@ share_js = """async () => {
53
  shareIconEl.style.display = 'none';
54
  loadingIconEl.style.removeProperty('display');
55
 
56
- const inputFile = await getInputImgFile(outputImgEl);
57
- const urlOutputImg = await uploadFile(inputFile);
58
 
59
- const inputFile = await getInputImgFile(randomLoRA_1);
60
- const urlLoRA1 = await uploadFile(inputFile);
61
 
62
- const inputFile = await getInputImgFile(randomLoRA_2);
63
- const urlLoRA2 = await uploadFile(inputFile);
64
 
65
  const descriptionMd = `
66
 
 
53
  shareIconEl.style.display = 'none';
54
  loadingIconEl.style.removeProperty('display');
55
 
56
+ const outputFile = await getInputImgFile(outputImgEl);
57
+ const urlOutputImg = await uploadFile(outputFile);
58
 
59
+ const inputLoRA_1 = await getInputImgFile(randomLoRA_1);
60
+ const urlLoRA1 = await uploadFile(inputLoRA_1);
61
 
62
+ const inputLoRA_2 = await getInputImgFile(randomLoRA_2);
63
+ const urlLoRA2 = await uploadFile(inputLoRA_2);
64
 
65
  const descriptionMd = `
66