Blane187 commited on
Commit
9abab10
1 Parent(s): 1ced324

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +3 -8
demo.py CHANGED
@@ -11,11 +11,6 @@ os.system("python tools/download_models.py") # -> dummy extra
11
 
12
 
13
 
14
- if config.iscolab:
15
- warning = True
16
-
17
- else:
18
- Warning = False
19
 
20
 
21
  # gr.themes.builder()
@@ -446,9 +441,9 @@ with gr.Blocks(title="RVC V2",theme=theme) as app:
446
  outputs=[model_browser],
447
  fn=lambda model: download_from_url(model_library.models[model],model),
448
  )
449
- if warning:
450
- with gr.TabItem("read this"):
451
- gr.Markdown(f"This Spaces Using CPU dude\n may inference take long time\n")
452
 
453
  with gr.TabItem("Train"):
454
  with gr.Row():
 
11
 
12
 
13
 
 
 
 
 
 
14
 
15
 
16
  # gr.themes.builder()
 
441
  outputs=[model_browser],
442
  fn=lambda model: download_from_url(model_library.models[model],model),
443
  )
444
+ #if warning:
445
+ with gr.TabItem("read this"):
446
+ gr.Markdown(f"This Spaces Using CPU dude\n may inference take long time\n")
447
 
448
  with gr.TabItem("Train"):
449
  with gr.Row():