Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,15 +2,6 @@
|
|
| 2 |
import gradio as gr
|
| 3 |
from src.demo.gradio_utils import *
|
| 4 |
|
| 5 |
-
# Walk around container build-up
|
| 6 |
-
pkg_version = get_installed_version("huggingface_hub")
|
| 7 |
-
|
| 8 |
-
if pkg_version != "0.25.1":
|
| 9 |
-
import sys
|
| 10 |
-
import subprocess
|
| 11 |
-
print(f"Installing huggingface_hub==0.25.1 (Current version: {pkg_version})")
|
| 12 |
-
subprocess.check_call([sys.executable, "-m", "pip", "install", f"huggingface_hub==0.25.1"])
|
| 13 |
-
|
| 14 |
|
| 15 |
with gr.Blocks(css="style.css") as demo:
|
| 16 |
gr.Markdown("# π΅ AudioMorphix Gradio Demo π΅\n<p>Select a task and edit audio interactively.</p>")
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
from src.demo.gradio_utils import *
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
with gr.Blocks(css="style.css") as demo:
|
| 7 |
gr.Markdown("# π΅ AudioMorphix Gradio Demo π΅\n<p>Select a task and edit audio interactively.</p>")
|