TIMBOVILL commited on
Commit
8671c20
β€’
1 Parent(s): 46c4bfa

Upload 3 files

Browse files
assets/Applio.ipynb ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "metadata": {
7
+ "cellView": "form",
8
+ "id": "vtON700qokuQ"
9
+ },
10
+ "outputs": [],
11
+ "source": [
12
+ "# @title **Install Applio**\n",
13
+ "\n",
14
+ "import codecs\n",
15
+ "import time\n",
16
+ "\n",
17
+ "orig_name_of_program = codecs.decode(\"Nccyvb\", \"rot_13\")\n",
18
+ "new_name_of_program = codecs.decode(\"cebtenz\", \"rot_13\")\n",
19
+ "uioawhd = codecs.decode(\"uggcf://tvguho.pbz/VNUvfcnab/Nccyvb.tvg\", \"rot_13\")\n",
20
+ "uyadwa = codecs.decode(\"ncc.cl\", \"rot_13\")\n",
21
+ "\n",
22
+ "from IPython.display import clear_output, Javascript\n",
23
+ "\n",
24
+ "!git clone --depth 1 $uioawhd\n",
25
+ "!mv $orig_name_of_program $new_name_of_program\n",
26
+ "%cd $new_name_of_program/\n",
27
+ "\n",
28
+ "clear_output()\n",
29
+ "file_path = \"requirements.txt\"\n",
30
+ "!pip install -r \"requirements.txt\" --quiet\n",
31
+ "\n",
32
+ "clear_output()\n",
33
+ "print(\"Finished installing requirements!\")"
34
+ ]
35
+ },
36
+ {
37
+ "cell_type": "code",
38
+ "execution_count": null,
39
+ "metadata": {
40
+ "cellView": "form",
41
+ "id": "-7cQtXouqpQi"
42
+ },
43
+ "outputs": [],
44
+ "source": [
45
+ "# @title **Start Applio**\n",
46
+ "%load_ext tensorboard\n",
47
+ "%reload_ext tensorboard\n",
48
+ "%tensorboard --logdir logs --bind_all\n",
49
+ "\n",
50
+ "!python $uyadwa --share"
51
+ ]
52
+ },
53
+ {
54
+ "cell_type": "markdown",
55
+ "metadata": {
56
+ "id": "ymhGfgFSR17k"
57
+ },
58
+ "source": [
59
+ "## **Credits**\n",
60
+ "- Special thanks to [Hina](https://github.com/hinabl) πŸ’—\n",
61
+ "- [Blaise](https://github.com/blaise-tk) and [Applio Team](https://github.com/IAHispano)"
62
+ ]
63
+ }
64
+ ],
65
+ "metadata": {
66
+ "accelerator": "GPU",
67
+ "colab": {
68
+ "gpuType": "T4",
69
+ "provenance": []
70
+ },
71
+ "kernelspec": {
72
+ "display_name": "Python 3",
73
+ "name": "python3"
74
+ },
75
+ "language_info": {
76
+ "name": "python"
77
+ }
78
+ },
79
+ "nbformat": 4,
80
+ "nbformat_minor": 0
81
+ }
assets/ICON.ico ADDED
assets/discord_presence.py ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pypresence import Presence
2
+ import datetime as dt
3
+ import time
4
+
5
+ def rich_presence():
6
+ client_id = "1144714449563955302"
7
+ RPC = Presence(client_id)
8
+ try:
9
+ RPC.connect()
10
+ RPC.update(
11
+ state="applio.org",
12
+ details="Ultimate voice cloning tool.",
13
+ buttons=[
14
+ {"label": "Home", "url": "https://applio.org"},
15
+ {"label": "Download", "url": "https://applio.org/download"},
16
+ ],
17
+ large_image="logo",
18
+ large_text="experimenting with applio",
19
+ start=dt.datetime.now().timestamp(),
20
+ )
21
+ return RPC
22
+ except Exception as e:
23
+ print(f"An error occurred: {e}")
24
+ return None
25
+
26
+ if __name__ == "__main__":
27
+ rpc = rich_presence()
28
+
29
+ if rpc:
30
+ try:
31
+ while True:
32
+ time.sleep(15)
33
+ except KeyboardInterrupt:
34
+ rpc.close()
35
+ else:
36
+ print("Failed to initialize Rich Presence.")