Fabrice-TIERCELIN commited on
Commit
ba776c9
β€’
1 Parent(s): 4987969
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks() as interface:
134
  <li>If you need to generate <b>music</b>, I recommend to use <i>MusicGen</i>,</li>
135
  </ul>
136
  <br/>
137
- 🐌 Slow process... Your computer must <b><u>not</u></b> enter into standby mode.<br/>You can duplicate this space on a free account, it works on CPU.<br/>
138
  <a href='https://huggingface.co/spaces/Fabrice-TIERCELIN/Text-to-Audio?duplicate=true'><img src='https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14'></a>
139
  <br/>
140
  βš–οΈ You can use, modify and share the generated sounds but not for commercial uses.
@@ -142,7 +142,7 @@ with gr.Blocks() as interface:
142
  )
143
  input_text = gr.Textbox(label = "Prompt", value = "Snort of a horse", lines = 2, autofocus = True)
144
  with gr.Accordion("Advanced options", open = False):
145
- output_number = gr.Slider(label = "Number of generations", info = "1, 2 or 3 output files", minimum = 1, maximum = 3, value = 1, step = 1, interactive = True)
146
  denoising_steps = gr.Slider(label = "Steps", info = "lower=faster & variant, higher=audio quality & similar", minimum = 100, maximum = 200, value = 100, step = 1, interactive = True)
147
  guidance_scale = gr.Slider(label = "Guidance Scale", info = "lower=audio quality, higher=follow the prompt", minimum = 1, maximum = 10, value = 3, step = 0.1, interactive = True)
148
 
@@ -190,11 +190,11 @@ with gr.Blocks() as interface:
190
  information
191
  ],
192
  examples = [
193
- ["A hammer is hitting a wooden surface", 1, 100, 3],
194
- ["Peaceful and calming ambient music with singing bowl and other instruments.", 1, 100, 3],
195
- ["A man is speaking in a small room.", 1, 100, 3],
196
- ["A female is speaking followed by footstep sound", 1, 100, 3],
197
- ["Wooden table tapping sound followed by water pouring sound.", 1, 100, 3],
198
  ],
199
  cache_examples = "lazy",
200
  )
 
134
  <li>If you need to generate <b>music</b>, I recommend to use <i>MusicGen</i>,</li>
135
  </ul>
136
  <br/>
137
+ 🐌 Slow process... ~2 hours. Your computer must <b><u>not</u></b> enter into standby mode.<br/>You can duplicate this space on a free account, it works on CPU.<br/>
138
  <a href='https://huggingface.co/spaces/Fabrice-TIERCELIN/Text-to-Audio?duplicate=true'><img src='https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14'></a>
139
  <br/>
140
  βš–οΈ You can use, modify and share the generated sounds but not for commercial uses.
 
142
  )
143
  input_text = gr.Textbox(label = "Prompt", value = "Snort of a horse", lines = 2, autofocus = True)
144
  with gr.Accordion("Advanced options", open = False):
145
+ output_number = gr.Slider(label = "Number of generations", info = "1, 2 or 3 output files", minimum = 1, maximum = 3, value = 3, step = 1, interactive = True)
146
  denoising_steps = gr.Slider(label = "Steps", info = "lower=faster & variant, higher=audio quality & similar", minimum = 100, maximum = 200, value = 100, step = 1, interactive = True)
147
  guidance_scale = gr.Slider(label = "Guidance Scale", info = "lower=audio quality, higher=follow the prompt", minimum = 1, maximum = 10, value = 3, step = 0.1, interactive = True)
148
 
 
190
  information
191
  ],
192
  examples = [
193
+ ["A hammer is hitting a wooden surface", 3, 100, 3],
194
+ ["Peaceful and calming ambient music with singing bowl and other instruments.", 3, 100, 3],
195
+ ["A man is speaking in a small room.", 3, 100, 3],
196
+ ["A female is speaking followed by footstep sound", 3, 100, 3],
197
+ ["Wooden table tapping sound followed by water pouring sound.", 3, 100, 3],
198
  ],
199
  cache_examples = "lazy",
200
  )