theNeofr commited on
Commit
2e667cb
·
verified ·
1 Parent(s): 9645ea7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -1,10 +1,5 @@
1
- import os
2
- import torch
3
- import logging
4
- import yt_dlp
5
- import spaces
6
  import gradio as gr
7
- from audio_separator.separator import Separator
8
 
9
 
10
  with gr.Blocks(theme ="hev832/applio", title = "🎵 Audio Separator UI 🎵") as app:
@@ -91,7 +86,7 @@ with gr.Blocks(theme ="hev832/applio", title = "🎵 Audio Separator UI 🎵") a
91
  with gr.Accordion("Separation by link", open = False):
92
  with gr.Row():
93
  roformer_link = gr.Textbox(
94
- label = _("Link"),
95
  placeholder = "Paste the link here",
96
  interactive = True
97
  )
@@ -109,7 +104,7 @@ with gr.Blocks(theme ="hev832/applio", title = "🎵 Audio Separator UI 🎵") a
109
 
110
 
111
  with gr.Row():
112
- roformer_button = gr.Button(_("Separate!"), variant = "primary")
113
  with gr.Row():
114
  roformer_stem1 = gr.Audio(
115
  show_download_button = True,
 
 
 
 
 
 
1
  import gradio as gr
2
+ from separwator import *
3
 
4
 
5
  with gr.Blocks(theme ="hev832/applio", title = "🎵 Audio Separator UI 🎵") as app:
 
86
  with gr.Accordion("Separation by link", open = False):
87
  with gr.Row():
88
  roformer_link = gr.Textbox(
89
+ label = "Link",
90
  placeholder = "Paste the link here",
91
  interactive = True
92
  )
 
104
 
105
 
106
  with gr.Row():
107
+ roformer_button = gr.Button("Separate!", variant = "primary")
108
  with gr.Row():
109
  roformer_stem1 = gr.Audio(
110
  show_download_button = True,