Samuel CHAINEAU
commited on
Commit
•
e29db42
1
Parent(s):
bda55bf
QBGPT V1.0
Browse files
pages.py
CHANGED
@@ -46,9 +46,9 @@ def qb_gpt_page(ref_df, ref, tokenizer, model):
|
|
46 |
colc, cold = st.columns(2)
|
47 |
|
48 |
with colc:
|
49 |
-
starts = st.slider("
|
50 |
with cold:
|
51 |
-
frames = st.slider("
|
52 |
|
53 |
if st.button("Generate"):
|
54 |
trial_d = QB_gen.tokenizer.truncate_to_time_t(selection, starts)
|
|
|
46 |
colc, cold = st.columns(2)
|
47 |
|
48 |
with colc:
|
49 |
+
starts = st.slider("Starting frame from which QB GPT generates", 1, 21, 1, step = 1)
|
50 |
with cold:
|
51 |
+
frames = st.slider("Number of frames to generate", 1, 50, 20, step = 1)
|
52 |
|
53 |
if st.button("Generate"):
|
54 |
trial_d = QB_gen.tokenizer.truncate_to_time_t(selection, starts)
|