aifeifei798 commited on
Commit
93c0f46
·
verified ·
1 Parent(s): fb5a0d5

Upload feifeiui.py

Browse files
Files changed (1) hide show
  1. feifeiui/feifeiui.py +13 -14
feifeiui/feifeiui.py CHANGED
@@ -98,20 +98,19 @@ def create_ui():
98
  label="Styles",
99
  multiselect=True)
100
  with gr.Tab("Florence-2"):
101
- with gr.Row():
102
- with gr.Column():
103
- output_text = gr.Textbox(label="Output Text",
104
- show_label=False,
105
- container=False)
106
- florence_btn = gr.Button(value="Florence")
107
- with gr.Row():
108
- with gr.Column(scale=2):
109
- input_img = gr.Image(label="Input Picture",
110
- show_label=False)
111
- with gr.Column(scale=2):
112
- output_img = gr.Image(label="Input Picture",
113
- interactive=False,
114
- show_label=False)
115
  with gr.Column(scale=3, elem_id="col-container"):
116
  gr.ChatInterface(
117
  feifeichat,
 
98
  label="Styles",
99
  multiselect=True)
100
  with gr.Tab("Florence-2"):
101
+
102
+ input_img = gr.Image(label="Input Picture",
103
+ show_label=False)
104
+
105
+ florence_btn = gr.Button(value="Florence")
106
+
107
+ output_text = gr.Textbox(label="Output Text",
108
+ show_label=False,
109
+ container=False)
110
+
111
+ output_img = gr.Image(label="Input Picture",
112
+ interactive=False,
113
+ show_label=False)
 
114
  with gr.Column(scale=3, elem_id="col-container"):
115
  gr.ChatInterface(
116
  feifeichat,