Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -64,12 +64,12 @@ with gr.Blocks() as demo:
|
|
64 |
gr.Markdown(preprocess_description_text)
|
65 |
with gr.Row():
|
66 |
with gr.Column():
|
67 |
-
freetext_prompt = gr.Textbox(label="
|
68 |
value="a dog barks three times.",)
|
69 |
preprocess_run_button = gr.Button()
|
70 |
prompt = None
|
71 |
with gr.Column():
|
72 |
-
freetext_prompt_out = gr.Textbox(label="Preprocess output")
|
73 |
with gr.Row():
|
74 |
with gr.Column():
|
75 |
gr.Examples(
|
@@ -90,7 +90,7 @@ with gr.Blocks() as demo:
|
|
90 |
gr.Markdown(generate_description_text)
|
91 |
with gr.Row():
|
92 |
with gr.Column():
|
93 |
-
prompt = gr.Textbox(label="
|
94 |
value="spraying at 0.38-1.176_3.06-3.856 and gunshot at 1.729-3.729_4.367-6.367_7.031-9.031.",)
|
95 |
generate_run_button = gr.Button()
|
96 |
with gr.Accordion("Advanced options", open=False):
|
|
|
64 |
gr.Markdown(preprocess_description_text)
|
65 |
with gr.Row():
|
66 |
with gr.Column():
|
67 |
+
freetext_prompt = gr.Textbox(label="Free-text prompt: Input your free-text caption here. (e.g. a dog barks three times.)",
|
68 |
value="a dog barks three times.",)
|
69 |
preprocess_run_button = gr.Button()
|
70 |
prompt = None
|
71 |
with gr.Column():
|
72 |
+
freetext_prompt_out = gr.Textbox(label="Timestamp Caption: Preprocess output")
|
73 |
with gr.Row():
|
74 |
with gr.Column():
|
75 |
gr.Examples(
|
|
|
90 |
gr.Markdown(generate_description_text)
|
91 |
with gr.Row():
|
92 |
with gr.Column():
|
93 |
+
prompt = gr.Textbox(label="Timestamp Caption: Input your caption formatted as 'event1 at onset1-offset1_onset2-offset2 and event2 at onset1-offset1'.",
|
94 |
value="spraying at 0.38-1.176_3.06-3.856 and gunshot at 1.729-3.729_4.367-6.367_7.031-9.031.",)
|
95 |
generate_run_button = gr.Button()
|
96 |
with gr.Accordion("Advanced options", open=False):
|