Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -176,7 +176,7 @@ def merge(yaml_config: str, hf_token: str, repo_name: str) -> Iterable[List[Log]
|
|
176 |
repo_id=repo_url.repo_id,
|
177 |
folder_path=merged_path / "merge",
|
178 |
)
|
179 |
-
yield runner.log("Model successfully uploaded to HF.")
|
180 |
|
181 |
|
182 |
with gr.Blocks() as demo:
|
@@ -199,7 +199,7 @@ with gr.Blocks() as demo:
|
|
199 |
placeholder="Optional. Will create a random name if empty.",
|
200 |
)
|
201 |
button = gr.Button("Merge", variant="primary")
|
202 |
-
logs = LogsView()
|
203 |
gr.Examples(
|
204 |
examples,
|
205 |
fn=lambda s: (s,),
|
|
|
176 |
repo_id=repo_url.repo_id,
|
177 |
folder_path=merged_path / "merge",
|
178 |
)
|
179 |
+
yield runner.log(f"Model successfully uploaded to HF: {repo_url.repo_id}")
|
180 |
|
181 |
|
182 |
with gr.Blocks() as demo:
|
|
|
199 |
placeholder="Optional. Will create a random name if empty.",
|
200 |
)
|
201 |
button = gr.Button("Merge", variant="primary")
|
202 |
+
logs = LogsView(label="Terminal output")
|
203 |
gr.Examples(
|
204 |
examples,
|
205 |
fn=lambda s: (s,),
|