freshyfresco commited on
Commit
7e5db92
1 Parent(s): 2c524bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +46 -15
app.py CHANGED
@@ -1,3 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
  import sys
3
  import os
@@ -19,16 +61,8 @@ from assets.discord_presence import rich_presence
19
 
20
  rich_presence()
21
 
22
- with gr.Blocks(theme="ParityError/Interstellar", title="Applio", head="""<script>
23
- var ApplioURL = window.location.href;
24
- if (!ApplioURL.includes('?__theme=dark')) {
25
- window.location.replace(ApplioURL + '?__theme=dark');
26
- } else {
27
- var cleanApplioURL = ApplioURL.split('?')[0];
28
- history.replaceState({}, document.title, cleanApplioURL);
29
- }
30
- </script>
31
- """)
32
  gr.Markdown(
33
  i18n(
34
  "Ultimate voice cloning tool, meticulously optimized for unrivaled power, modularity, and user-friendly experience."
@@ -58,8 +92,5 @@ with gr.Blocks(theme="ParityError/Interstellar", title="Applio", head="""<script
58
  report_tab()
59
 
60
  if __name__ == "__main__":
61
- Applio.launch(
62
- favicon_path="assets/ICON.ico",
63
- share="--false" in sys.argv,
64
- inbrowser="--open" in sys.argv,
65
- )
 
1
+ Hugging Face's logo
2
+ Hugging Face
3
+ Search models, datasets, users...
4
+ Models
5
+ Datasets
6
+ Spaces
7
+ Posts
8
+ Docs
9
+ Solutions
10
+ Pricing
11
+
12
+
13
+
14
+ Spaces:
15
+
16
+ PlayerBPlaytime
17
+ /
18
+ Applio-V3
19
+
20
+
21
+ like
22
+ 0
23
+ App
24
+ Files
25
+ Community
26
+ 1
27
+ Applio-V3
28
+ /
29
+ app.py
30
+ PlayerBPlaytime's picture
31
+ PlayerBPlaytime
32
+ Update app.py
33
+ 6961e6e
34
+ VERIFIED
35
+ 23 minutes ago
36
+ raw
37
+ history
38
+ blame
39
+ contribute
40
+ delete
41
+ No virus
42
+ 1.49 kB
43
  import gradio as gr
44
  import sys
45
  import os
 
61
 
62
  rich_presence()
63
 
64
+ with gr.Blocks(theme="ParityError/Interstellar", title="Applio") as Applio:
65
+ gr.Markdown("# Applio")
 
 
 
 
 
 
 
 
66
  gr.Markdown(
67
  i18n(
68
  "Ultimate voice cloning tool, meticulously optimized for unrivaled power, modularity, and user-friendly experience."
 
92
  report_tab()
93
 
94
  if __name__ == "__main__":
95
+ Applio.launch()
96
+ # share=True