File size: 1,483 Bytes
9611aae
 
 
 
 
 
 
 
 
 
 
 
fab27eb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
title: Magic Vocals
emoji: πŸ¦€
colorFrom: red
colorTo: pink
sdk: gradio
sdk_version: 3.42.0
app_file: app.py
pinned: false
license: lgpl-3.0
---

## πŸ”§ Pre-requisites

Before running the project, you must have the following tool installed on your machine: 
* [Python v3.8.0](https://www.python.org/downloads/release/python-380/)

Also, you will need to clone the repository:

```bash
# Clone the repository
git clone https://huggingface.co/spaces/mateuseap/magic-vocals/
# Enter in the root directory
cd magic-vocals
```

## πŸš€ How to run

After you've cloned the repository and entered in the root directory, run the following commands:

```bash
# Create and activate a Virtual Environment (make sure you're using Python v3.8.0 to do it)
python -m venv venv
. venv/bin/activate

# Change mode and execute a shell script to configure and run the application
chmod +x run.sh
./run.sh
```

After the shell script executes everything, the application will be running at http://127.0.0.1:7860! Open up the link in a browser to use the app:

![Magic Vocals](https://i.imgur.com/V55oKv8.png)

**You only need to execute the `run.sh` one time**, once you've executed it one time, you just need to activate the virtual environment and run the command below to start the app again:

```bash
python app.py
```

**THE `run.sh` IS SUPPORTED BY THE FOLLOWING OPERATING SYSTEMS:**


| OS        | Supported |
|-----------|:---------:|
| `Windows` |     ❌    |
| `Ubuntu`  |     βœ…    |