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": "pdSMDBfMU5Uw"
|
| 10 |
+
},
|
| 11 |
+
"id": "pdSMDBfMU5Uw"
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"cell_type": "code",
|
| 15 |
+
"source": [
|
| 16 |
+
"%cd root\n",
|
| 17 |
+
"!git clone https://huggingface.co/spaces/Heartsync/VEO3-RealTime\n",
|
| 18 |
+
"%cd VEO3-RealTime"
|
| 19 |
+
],
|
| 20 |
+
"metadata": {
|
| 21 |
+
"id": "gw0F41fxU9WI"
|
| 22 |
+
},
|
| 23 |
+
"id": "gw0F41fxU9WI",
|
| 24 |
+
"execution_count": null,
|
| 25 |
+
"outputs": []
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"cell_type": "markdown",
|
| 29 |
+
"source": [
|
| 30 |
+
"# **Requirements**"
|
| 31 |
+
],
|
| 32 |
+
"metadata": {
|
| 33 |
+
"id": "fd1CU9N-U_B_"
|
| 34 |
+
},
|
| 35 |
+
"id": "fd1CU9N-U_B_"
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"cell_type": "code",
|
| 39 |
+
"source": [],
|
| 40 |
+
"metadata": {
|
| 41 |
+
"id": "cCVYKd_2Vhl_"
|
| 42 |
+
},
|
| 43 |
+
"id": "cCVYKd_2Vhl_",
|
| 44 |
+
"execution_count": null,
|
| 45 |
+
"outputs": []
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"cell_type": "code",
|
| 49 |
+
"source": [
|
| 50 |
+
"\n",
|
| 51 |
+
"!pip install -r pre-requirements.txt\n",
|
| 52 |
+
"!pip install -r requirements.txt\n",
|
| 53 |
+
"!pip install spaces"
|
| 54 |
+
],
|
| 55 |
+
"metadata": {
|
| 56 |
+
"id": "-9Rvk4mGVR4n"
|
| 57 |
+
},
|
| 58 |
+
"id": "-9Rvk4mGVR4n",
|
| 59 |
+
"execution_count": null,
|
| 60 |
+
"outputs": []
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"cell_type": "markdown",
|
| 64 |
+
"source": [
|
| 65 |
+
"# **FFMPEG**"
|
| 66 |
+
],
|
| 67 |
+
"metadata": {
|
| 68 |
+
"id": "DUdG6pYhVMU_"
|
| 69 |
+
},
|
| 70 |
+
"id": "DUdG6pYhVMU_"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"cell_type": "code",
|
| 74 |
+
"source": [
|
| 75 |
+
"!apt-get update\n",
|
| 76 |
+
"!apt-get install -y libglib2.0-0 libgl1\n",
|
| 77 |
+
"!apt-get update\n",
|
| 78 |
+
"!apt-get install -y ffmpeg"
|
| 79 |
+
],
|
| 80 |
+
"metadata": {
|
| 81 |
+
"id": "gyzsM8aJVLMI"
|
| 82 |
+
},
|
| 83 |
+
"id": "gyzsM8aJVLMI",
|
| 84 |
+
"execution_count": null,
|
| 85 |
+
"outputs": []
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"cell_type": "markdown",
|
| 89 |
+
"source": [
|
| 90 |
+
"# **Main Code**"
|
| 91 |
+
],
|
| 92 |
+
"metadata": {
|
| 93 |
+
"id": "0lCE_qx4VX5P"
|
| 94 |
+
},
|
| 95 |
+
"id": "0lCE_qx4VX5P"
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"cell_type": "code",
|
| 99 |
+
"source": [
|
| 100 |
+
"!python app.py"
|
| 101 |
+
],
|
| 102 |
+
"metadata": {
|
| 103 |
+
"id": "db7bKF5qVcaf"
|
| 104 |
+
},
|
| 105 |
+
"id": "db7bKF5qVcaf",
|
| 106 |
+
"execution_count": null,
|
| 107 |
+
"outputs": []
|
| 108 |
+
}
|
| 109 |
+
],
|
| 110 |
+
"metadata": {
|
| 111 |
+
"kernelspec": {
|
| 112 |
+
"display_name": "Python",
|
| 113 |
+
"language": "python",
|
| 114 |
+
"name": "python3"
|
| 115 |
+
},
|
| 116 |
+
"language_info": {
|
| 117 |
+
"codemirror_mode": {
|
| 118 |
+
"name": "ipython",
|
| 119 |
+
"version": 3
|
| 120 |
+
},
|
| 121 |
+
"file_extension": ".py",
|
| 122 |
+
"mimetype": "text/x-python",
|
| 123 |
+
"name": "python",
|
| 124 |
+
"nbconvert_exporter": "python",
|
| 125 |
+
"pygments_lexer": "ipython3"
|
| 126 |
+
},
|
| 127 |
+
"colab": {
|
| 128 |
+
"provenance": []
|
| 129 |
+
}
|
| 130 |
+
},
|
| 131 |
+
"nbformat": 4,
|
| 132 |
+
"nbformat_minor": 5
|
| 133 |
+
}
|