Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI rework #230

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions javascript/t2v_progressbar.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
function submit_txt2vid(){
// rememberGallerySelection('txt2img_gallery')
showSubmitButtons('text2vid', false)
showSubmitButtons('txt2vid', false)

var id = randomId()
// Using progressbar without the gallery
requestProgress(id, gradioApp().getElementById('text2vid_results_panel'), null, function(){
showSubmitButtons('text2vid', true)
requestProgress(id, gradioApp().getElementById('txt2vid_results_panel'), null, function(){
showSubmitButtons('txt2vid', true)
})

var res = create_submit_args(arguments)
Expand Down
1 change: 1 addition & 0 deletions scripts/modelscope/process_modelscope.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ def process_modelscope(args_dict, extra_args=None):
if max_vids_to_pack == -1 or len(vids_to_pack) < max_vids_to_pack:
vids_to_pack.append((dataurl, infotext))
t2v_helpers_args.i1_store_t2v = f'<p style=\"font-weight:bold;margin-bottom:0em\">text2video extension for auto1111 — version 1.2b </p>'
t2v_helpers_args.last_seed = args.seed
for dataurl, infotext in vids_to_pack:
t2v_helpers_args.i1_store_t2v += f'<video controls loop><source src="{dataurl}" type="video/mp4"></video><br>{infotext}<br>'
pbar.close()
Expand Down
2 changes: 1 addition & 1 deletion scripts/stable_lora/scripts/lora_webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def ui(self):
self.lora_files = paths_with_metadata.copy()
REPOSITORY_LINK = "https://github.com/ExponentialML/Text-To-Video-Finetuning"

with gr.Accordion(label=EXTENSION_TITLE, open=False) as stable_lora_section:
with gr.Accordion(label=EXTENSION_TITLE, open=True) as stable_lora_section:
with gr.Blocks(analytics_enabled=False):
with gr.Row():
with gr.Column():
Expand Down
Loading