Spaces:
Sleeping
Sleeping
Commit
•
b2cc814
1
Parent(s):
8971c45
Update share_btn.py
Browse files- 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
|
57 |
-
const urlOutputImg = await uploadFile(
|
58 |
|
59 |
-
const
|
60 |
-
const urlLoRA1 = await uploadFile(
|
61 |
|
62 |
-
const
|
63 |
-
const urlLoRA2 = await uploadFile(
|
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 |
|