Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -97,13 +97,12 @@ with gr.Blocks(theme="Ytheme/Minecraft", fill_width=True, delete_cache=(60, 3600
|
|
97 |
with gr.Row():
|
98 |
weight_drop_prob = gr.Slider(minimum=0, maximum=1, value=0.3, label="Weight Drop Probability")
|
99 |
|
100 |
-
log_output = gr.Markdown(label="Log Output", value="<br><br>")
|
101 |
repo_url = gr.Markdown(label="Repository URL")
|
102 |
|
103 |
gr.Button("Merge").click(
|
104 |
merge_and_upload,
|
105 |
inputs=[base_model, model_to_merge, scaling_factor, weight_drop_prob, repo_name, token],
|
106 |
-
outputs=[repo_url
|
107 |
)
|
108 |
|
109 |
demo.launch()
|
|
|
97 |
with gr.Row():
|
98 |
weight_drop_prob = gr.Slider(minimum=0, maximum=1, value=0.3, label="Weight Drop Probability")
|
99 |
|
|
|
100 |
repo_url = gr.Markdown(label="Repository URL")
|
101 |
|
102 |
gr.Button("Merge").click(
|
103 |
merge_and_upload,
|
104 |
inputs=[base_model, model_to_merge, scaling_factor, weight_drop_prob, repo_name, token],
|
105 |
+
outputs=[repo_url]
|
106 |
)
|
107 |
|
108 |
demo.launch()
|