Pendrokar commited on
Commit
aeec7fe
·
verified ·
1 Parent(s): 6f75cb6

Update test_overrides.py

Browse files
Files changed (1) hide show
  1. test_overrides.py +6 -18
test_overrides.py CHANGED
@@ -1,21 +1,9 @@
1
- from app.models import *
2
-
3
- # # has named endpoint
4
- # if '/' == HF_SPACES[model]['function'][0]:
5
- # # audio sync function name
6
- # api_name = HF_SPACES[model]['function']
7
-
8
- # end_parameters = _get_param_examples(
9
- # endpoints['named_endpoints'][api_name]['parameters']
10
- # )
11
- # # has unnamed endpoint
12
- # else:
13
- # # endpoint index is the first character
14
- # fn_index = int(HF_SPACES[model]['function'])
15
-
16
- # end_parameters = _get_param_examples(
17
- # endpoints['unnamed_endpoints'][str(fn_index)]['parameters']
18
- # )
19
 
20
  def _get_param_examples(parameters):
21
  # named or unnamed parameters
 
1
+ OVERRIDE_INPUTS = {
2
+ 'Pendrokar/xVASynth-TTS': {
3
+ 1: 'x_ex04', #fine-tuned voice model name
4
+ 3: 1.0, #pacing/duration - Gradio Slider issue: takes min. rather than value
5
+ },
6
+ }
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
  def _get_param_examples(parameters):
9
  # named or unnamed parameters