fantos commited on
Commit
d7c3a35
·
verified ·
1 Parent(s): 3a8be35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,12 +1,12 @@
1
  import os
2
  import gradio as gr
3
  import outetts
4
- from outetts.version.v2.interface import *DEFAULT*SPEAKERS
5
  import torch
6
  import spaces
7
 
8
  def get_available_speakers():
9
- speakers = list(_DEFAULT_SPEAKERS.keys())
10
  return speakers
11
 
12
  @spaces.GPU
 
1
  import os
2
  import gradio as gr
3
  import outetts
4
+ from outetts.version.v2.interface import DEFAULT_SPEAKERS # Fixed the import syntax
5
  import torch
6
  import spaces
7
 
8
  def get_available_speakers():
9
+ speakers = list(DEFAULT_SPEAKERS.keys()) # Fixed variable name
10
  return speakers
11
 
12
  @spaces.GPU