Spaces:
Running
Running
from within
Browse files- app.py +1 -4
- requirements.txt +1 -1
app.py
CHANGED
@@ -81,10 +81,7 @@ def merge(
|
|
81 |
config_path = tmpdir / "config.yaml"
|
82 |
config_path.write_text(yaml_config)
|
83 |
|
84 |
-
|
85 |
-
print(cmd)
|
86 |
-
print(tmpdir.is_dir())
|
87 |
-
yield from LogsView.run_process(cmd.split())
|
88 |
|
89 |
## TODO(implement upload at the end of the merge, and display the repo URL)
|
90 |
|
|
|
81 |
config_path = tmpdir / "config.yaml"
|
82 |
config_path.write_text(yaml_config)
|
83 |
|
84 |
+
yield from LogsView.run_process(cli.split(), cwd=tmpdir)
|
|
|
|
|
|
|
85 |
|
86 |
## TODO(implement upload at the end of the merge, and display the repo URL)
|
87 |
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
torch
|
2 |
git+https://github.com/arcee-ai/mergekit.git
|
3 |
# see https://huggingface.co/spaces/Wauplin/gradio_logsview
|
4 |
-
gradio_logsview@https://huggingface.co/spaces/Wauplin/gradio_logsview/resolve/main/gradio_logsview-0.0.
|
|
|
1 |
torch
|
2 |
git+https://github.com/arcee-ai/mergekit.git
|
3 |
# see https://huggingface.co/spaces/Wauplin/gradio_logsview
|
4 |
+
gradio_logsview@https://huggingface.co/spaces/Wauplin/gradio_logsview/resolve/main/gradio_logsview-0.0.2-py3-none-any.whl
|