K00B404 commited on
Commit
c7b36e9
1 Parent(s): ea70aae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -170,7 +170,7 @@ input_merge_method = gr.Dropdown(label='Merge Method', choices=MERGE_METHODS)
170
  partial_generate_config = partial(generate_config, base_model=input_base_model, merge_method=input_merge_method)
171
 
172
  # Generate config block
173
- gen_config_block = gr.Block()
174
  with gen_config_block:
175
  generated_config = gr.outputs.Textbox(label='Generated Config', interactive=False)
176
  btn_generate_config = gr.Button('Generate Config', variant='secondary')
@@ -254,9 +254,10 @@ def merge(yaml_config: str, hf_token: str, repo_name: str) -> Iterable[List[Log]
254
 
255
  with gr.Blocks() as demo:
256
  gr.Markdown(MARKDOWN_DESCRIPTION)
257
-
258
  with gr.Row():
259
  gen_config_block
 
 
260
  filename = gr.Textbox(visible=False, label="filename")
261
  config = gr.Code(language="yaml", lines=10, label="config.yaml")
262
  with gr.Column():
 
170
  partial_generate_config = partial(generate_config, base_model=input_base_model, merge_method=input_merge_method)
171
 
172
  # Generate config block
173
+ gen_config_block = gr.Blocks()
174
  with gen_config_block:
175
  generated_config = gr.outputs.Textbox(label='Generated Config', interactive=False)
176
  btn_generate_config = gr.Button('Generate Config', variant='secondary')
 
254
 
255
  with gr.Blocks() as demo:
256
  gr.Markdown(MARKDOWN_DESCRIPTION)
 
257
  with gr.Row():
258
  gen_config_block
259
+ with gr.Row():
260
+
261
  filename = gr.Textbox(visible=False, label="filename")
262
  config = gr.Code(language="yaml", lines=10, label="config.yaml")
263
  with gr.Column():