Spaces:
Runtime error
Runtime error
zetavg
commited on
Commit
•
fcc807e
1
Parent(s):
5167103
better tooltip placement for mobile devices
Browse files
llama_lora/ui/finetune/script.js
CHANGED
@@ -14,7 +14,7 @@ function finetune_ui_blocks_js() {
|
|
14 |
});
|
15 |
|
16 |
tippy('#finetune_template', {
|
17 |
-
placement: '
|
18 |
delay: [500, 0],
|
19 |
animation: 'scale-subtle',
|
20 |
content:
|
@@ -110,7 +110,7 @@ function finetune_ui_blocks_js() {
|
|
110 |
});
|
111 |
|
112 |
tippy('#finetune_continue_from_model', {
|
113 |
-
placement: '
|
114 |
delay: [500, 0],
|
115 |
animation: 'scale-subtle',
|
116 |
content:
|
@@ -119,7 +119,7 @@ function finetune_ui_blocks_js() {
|
|
119 |
});
|
120 |
|
121 |
tippy('#finetune_continue_from_checkpoint', {
|
122 |
-
placement: '
|
123 |
delay: [500, 0],
|
124 |
animation: 'scale-subtle',
|
125 |
content:
|
|
|
14 |
});
|
15 |
|
16 |
tippy('#finetune_template', {
|
17 |
+
placement: 'right',
|
18 |
delay: [500, 0],
|
19 |
animation: 'scale-subtle',
|
20 |
content:
|
|
|
110 |
});
|
111 |
|
112 |
tippy('#finetune_continue_from_model', {
|
113 |
+
placement: 'right',
|
114 |
delay: [500, 0],
|
115 |
animation: 'scale-subtle',
|
116 |
content:
|
|
|
119 |
});
|
120 |
|
121 |
tippy('#finetune_continue_from_checkpoint', {
|
122 |
+
placement: 'right',
|
123 |
delay: [500, 0],
|
124 |
animation: 'scale-subtle',
|
125 |
content:
|
llama_lora/ui/inference_ui.py
CHANGED
@@ -659,7 +659,7 @@ def inference_ui():
|
|
659 |
// Add tooltips
|
660 |
setTimeout(function () {
|
661 |
tippy('#inference_lora_model', {
|
662 |
-
placement: '
|
663 |
delay: [500, 0],
|
664 |
animation: 'scale-subtle',
|
665 |
content:
|
@@ -668,7 +668,7 @@ def inference_ui():
|
|
668 |
});
|
669 |
|
670 |
tippy('#inference_prompt_template', {
|
671 |
-
placement: '
|
672 |
delay: [500, 0],
|
673 |
animation: 'scale-subtle',
|
674 |
content:
|
|
|
659 |
// Add tooltips
|
660 |
setTimeout(function () {
|
661 |
tippy('#inference_lora_model', {
|
662 |
+
placement: 'top-start',
|
663 |
delay: [500, 0],
|
664 |
animation: 'scale-subtle',
|
665 |
content:
|
|
|
668 |
});
|
669 |
|
670 |
tippy('#inference_prompt_template', {
|
671 |
+
placement: 'top-start',
|
672 |
delay: [500, 0],
|
673 |
animation: 'scale-subtle',
|
674 |
content:
|