Update app.py
Browse files
app.py
CHANGED
@@ -63,18 +63,15 @@ with gr.Blocks() as demo:
|
|
63 |
model1_layers_input = gr.Textbox(
|
64 |
label="Model 1 Layer Range", placeholder="[start, end]", value="[0, 32]"
|
65 |
)
|
66 |
-
model2_input = gr.Textbox(
|
67 |
-
label="Model 2", value="CorticalStack/pastiche-crown-clown-7b-dare-dpo"
|
68 |
-
)
|
69 |
-
model2_layers_input = gr.Textbox(
|
70 |
-
label="Model 2 Layer Range", placeholder="[start, end]", value="[0, 32]"
|
71 |
-
)
|
72 |
model2_input = HuggingfaceHubSearch(
|
73 |
label="Model 2",
|
74 |
placeholder="Search for model 2 on Huggingface",
|
75 |
search_type="model",
|
76 |
value="CorticalStack/pastiche-crown-clown-7b-dare-dpo"
|
77 |
)
|
|
|
|
|
|
|
78 |
merge_method_input = gr.Dropdown(
|
79 |
label="Merge Method", choices=["slerp", "linear"], value="slerp"
|
80 |
)
|
@@ -107,4 +104,4 @@ with gr.Blocks() as demo:
|
|
107 |
|
108 |
gr.Markdown("A Space by [1littlecoder](https://huggingface.co/1littlecoder)")
|
109 |
|
110 |
-
demo.launch()
|
|
|
63 |
model1_layers_input = gr.Textbox(
|
64 |
label="Model 1 Layer Range", placeholder="[start, end]", value="[0, 32]"
|
65 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
model2_input = HuggingfaceHubSearch(
|
67 |
label="Model 2",
|
68 |
placeholder="Search for model 2 on Huggingface",
|
69 |
search_type="model",
|
70 |
value="CorticalStack/pastiche-crown-clown-7b-dare-dpo"
|
71 |
)
|
72 |
+
model2_layers_input = gr.Textbox(
|
73 |
+
label="Model 2 Layer Range", placeholder="[start, end]", value="[0, 32]"
|
74 |
+
)
|
75 |
merge_method_input = gr.Dropdown(
|
76 |
label="Merge Method", choices=["slerp", "linear"], value="slerp"
|
77 |
)
|
|
|
104 |
|
105 |
gr.Markdown("A Space by [1littlecoder](https://huggingface.co/1littlecoder)")
|
106 |
|
107 |
+
demo.launch()
|