multimodalart HF staff commited on
Commit
f01b73c
1 Parent(s): b54cbc7

Update share_btn.py

Browse files
Files changed (1) hide show
  1. share_btn.py +5 -6
share_btn.py CHANGED
@@ -63,17 +63,16 @@ share_js = """async () => {
63
  const inputLoRA_2 = await getInputImgFile(randomLoRA_2);
64
  const urlLoRA2 = await uploadFile(inputLoRA_2);
65
 
66
- const descriptionMd = `
 
 
 
 
67
 
68
  | [${randomLoRA_1_title}](https://huggingface.co/${randomLoRA_1_id}) | | [${randomLoRA_2_title}](https://huggingface.co/${randomLoRA_1_id}) |
69
  |---------|-----------|---------|
70
  | <img width=200 alt="${randomLoRA_1_title}" src="${urlLoRA1}" /> | + | <img width=200 alt="${randomLoRA_2_title}" src="${urlLoRA2}" /> |
71
 
72
- ### Prompt
73
- ${prompt}
74
-
75
- #### Generated Image:
76
- <img src="${urlOutputImg}" />
77
  `;
78
  console.log(descriptionMd)
79
  const params = new URLSearchParams({
 
63
  const inputLoRA_2 = await getInputImgFile(randomLoRA_2);
64
  const urlLoRA2 = await uploadFile(inputLoRA_2);
65
 
66
+ const descriptionMd = `### Prompt
67
+ ${prompt}
68
+
69
+ #### Generated Image:
70
+ <img src="${urlOutputImg}" />
71
 
72
  | [${randomLoRA_1_title}](https://huggingface.co/${randomLoRA_1_id}) | | [${randomLoRA_2_title}](https://huggingface.co/${randomLoRA_1_id}) |
73
  |---------|-----------|---------|
74
  | <img width=200 alt="${randomLoRA_1_title}" src="${urlLoRA1}" /> | + | <img width=200 alt="${randomLoRA_2_title}" src="${urlLoRA2}" /> |
75
 
 
 
 
 
 
76
  `;
77
  console.log(descriptionMd)
78
  const params = new URLSearchParams({