Wauplin HF staff commited on
Commit
c24bffd
1 Parent(s): 6188097

from within

Browse files
Files changed (2) hide show
  1. app.py +1 -4
  2. 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
- cmd = f"cd {tmpdir} && {cli}"
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-py3-none-any.whl
 
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