Spaces:
Running
Running
Niki Zhang
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -958,7 +958,7 @@ def create_ui():
|
|
958 |
|
959 |
with gr.Blocks(
|
960 |
css=get_style(),
|
961 |
-
theme=gr.themes.
|
962 |
) as iface:
|
963 |
state = gr.State([])
|
964 |
out_state = gr.State(None)
|
@@ -1102,8 +1102,8 @@ def create_ui():
|
|
1102 |
|
1103 |
with gr.Column():
|
1104 |
with gr.Column(visible=False,scale=1.0) as modules_need_gpt2:
|
1105 |
-
paragraph_output = gr.Textbox(lines=
|
1106 |
-
with gr.Column(visible=False,scale=0
|
1107 |
cap_everything_button = gr.Button(value="Caption Everything in a Paragraph", interactive=True)
|
1108 |
|
1109 |
with gr.Column(visible=False) as modules_not_need_gpt2:
|
|
|
958 |
|
959 |
with gr.Blocks(
|
960 |
css=get_style(),
|
961 |
+
theme=gr.themes.Base()
|
962 |
) as iface:
|
963 |
state = gr.State([])
|
964 |
out_state = gr.State(None)
|
|
|
1102 |
|
1103 |
with gr.Column():
|
1104 |
with gr.Column(visible=False,scale=1.0) as modules_need_gpt2:
|
1105 |
+
paragraph_output = gr.Textbox(lines=10, label="Describe Everything", max_lines=10)
|
1106 |
+
with gr.Column(visible=False,scale=1.0) as modules_need_gpt0:
|
1107 |
cap_everything_button = gr.Button(value="Caption Everything in a Paragraph", interactive=True)
|
1108 |
|
1109 |
with gr.Column(visible=False) as modules_not_need_gpt2:
|