Niki Zhang commited on
Commit
545c152
·
verified ·
1 Parent(s): 9702a77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -958,7 +958,7 @@ def create_ui():
958
 
959
  with gr.Blocks(
960
  css=get_style(),
961
- theme=gr.themes.Soft()
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=7, label="Describe Everything", max_lines=7)
1106
- with gr.Column(visible=False,scale=0.2) 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:
 
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: