Rongjiehuang commited on
Commit
199d672
1 Parent(s): facaf18
inference/gradio/gradio_settings.yaml CHANGED
@@ -5,9 +5,9 @@ article: |
5
  Link to <a href='https://github.com/Rongjiehuang/GenerSpeech' style='color:blue;' target='_blank\'>Github REPO</a>
6
  example_inputs:
7
  - |-
8
- the invention of movable metal letters in the middle of the fifteenth century may justly be considered as the invention of the art of printing. | assets/0011_001570.wav
9
  - |-
10
- produced the block books, which were the immediate predecessors of the true printed book, | assets/0011_001570.wav
11
  inference_cls: inference.GenerSpeech.GenerSpeechInfer
12
  exp_name: GenerSpeech
13
  config: modules/GenerSpeech/config/generspeech.yaml
 
5
  Link to <a href='https://github.com/Rongjiehuang/GenerSpeech' style='color:blue;' target='_blank\'>Github REPO</a>
6
  example_inputs:
7
  - |-
8
+ the invention of movable metal letters in the middle of the fifteenth century may justly be considered as the invention of the art of printing. |assets/0011_001570.wav
9
  - |-
10
+ produced the block books, which were the immediate predecessors of the true printed book, |assets/0011_001570.wav
11
  inference_cls: inference.GenerSpeech.GenerSpeechInfer
12
  exp_name: GenerSpeech
13
  config: modules/GenerSpeech/config/generspeech.yaml
inference/gradio/infer.py CHANGED
@@ -55,8 +55,7 @@ class GradioInfer:
55
 
56
  for i in range(len(example_inputs)):
57
  text, ref_audio = example_inputs[i].split('|')
58
- print('text: ', text, 'ref_audio:', ref_audio)
59
- example_inputs[i] = [text, os.getcwd() + '/' + ref_audio]
60
 
61
  iface = gr.Interface(fn=self.greet,
62
  inputs=[
 
55
 
56
  for i in range(len(example_inputs)):
57
  text, ref_audio = example_inputs[i].split('|')
58
+ example_inputs[i] = [text, ref_audio]
 
59
 
60
  iface = gr.Interface(fn=self.greet,
61
  inputs=[