hysts HF Staff commited on
Commit
4578dbd
·
1 Parent(s): 46fcba8
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -128,14 +128,15 @@ def clear() -> tuple[dict, dict, dict]:
128
  with gr.Blocks(css='style.css') as demo:
129
  with gr.Group():
130
  prompt = gr.Text(show_label=False, placeholder='Prompt')
131
- config_path = gr.Text(visible=False)
132
  gallery = gr.Gallery(show_label=False).style(columns=2,
133
  rows=2,
134
  height='600px',
135
  object_fit='scale-down')
136
- selected_index = gr.Number(visible=False, precision=0)
137
  save_preference_button = gr.Button('Save preference', interactive=False)
138
 
 
 
 
139
  with gr.Accordion(label='About this Space', open=False):
140
  gr.Markdown(ABOUT_THIS_SPACE)
141
 
 
128
  with gr.Blocks(css='style.css') as demo:
129
  with gr.Group():
130
  prompt = gr.Text(show_label=False, placeholder='Prompt')
 
131
  gallery = gr.Gallery(show_label=False).style(columns=2,
132
  rows=2,
133
  height='600px',
134
  object_fit='scale-down')
 
135
  save_preference_button = gr.Button('Save preference', interactive=False)
136
 
137
+ config_path = gr.Text(visible=False)
138
+ selected_index = gr.Number(visible=False, precision=0)
139
+
140
  with gr.Accordion(label='About this Space', open=False):
141
  gr.Markdown(ABOUT_THIS_SPACE)
142