txya900619 commited on
Commit
de54b40
1 Parent(s): 3a3e114

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +48 -48
app.py CHANGED
@@ -170,7 +170,7 @@ with demo:
170
  )
171
  use_default_emb_or_custom_radio = gr.Radio(
172
  label="語者類型",
173
- choices=["客製化語者"],
174
  value="客製化語者",
175
  visible=True,
176
  show_label=False,
@@ -251,52 +251,52 @@ with demo:
251
  ],
252
  allow_flagging="auto",
253
  )
254
- # gr.Examples(
255
- # [
256
- # [
257
- # "預設語者",
258
- # "江芮敏",
259
- # "sixian",
260
- # "歸條路吊等長長个花燈,祈求風調雨順,歸屋下人个心願,親像花燈下燒暖个光華",
261
- # ],
262
- # [
263
- # "預設語者",
264
- # "戴君儒",
265
- # "hailu",
266
- # "男女平等个時代,平平做得受教育",
267
- # ],
268
- # [
269
- # "預設語者",
270
- # "宋涵葳",
271
- # "dapu",
272
- # "客家山城乜跈緊鬧熱䟘來咧",
273
- # ],
274
- # [
275
- # "預設語者",
276
- # "江芮敏",
277
- # "raoping",
278
- # "頭擺匱人,戴个毋係菅草屋,个創商品哦",
279
- # ],
280
- # [
281
- # "預設語者",
282
- # "洪藝晅",
283
- # "zhaoan",
284
- # "歇熱个時務,阿松歸屋下轉去在客莊个老屋",
285
- # ],
286
- # [
287
- # "預設語者",
288
- # "江芮敏",
289
- # "nansixian",
290
- # "在𠊎讀小學一年生个時節,阿爸輒常用自轉車載𠊎去學校讀書",
291
- # ],
292
- # ],
293
- # label="範例",
294
- # inputs=[
295
- # use_default_emb_or_custom_radio,
296
- # speaker_drop_down,
297
- # dialect_radio,
298
- # input_text,
299
- # ],
300
- # )
301
 
302
  demo.launch()
 
170
  )
171
  use_default_emb_or_custom_radio = gr.Radio(
172
  label="語者類型",
173
+ choices=["預設語者", "客製化語者"],
174
  value="客製化語者",
175
  visible=True,
176
  show_label=False,
 
251
  ],
252
  allow_flagging="auto",
253
  )
254
+ gr.Examples(
255
+ [
256
+ [
257
+ "預設語者",
258
+ "江芮敏",
259
+ "sixian",
260
+ "歸條路吊等長長个花燈,祈求風調雨順,歸屋下人个心願,親像花燈下燒暖个光華",
261
+ ],
262
+ [
263
+ "預設語者",
264
+ "戴君儒",
265
+ "hailu",
266
+ "男女平等个時代,平平做得受教育",
267
+ ],
268
+ [
269
+ "預設語者",
270
+ "宋涵葳",
271
+ "dapu",
272
+ "客家山城乜跈緊鬧熱䟘來咧",
273
+ ],
274
+ [
275
+ "預設語者",
276
+ "江芮敏",
277
+ "raoping",
278
+ "頭擺匱人,戴个毋係菅草屋,个創商品哦",
279
+ ],
280
+ [
281
+ "預設語者",
282
+ "洪藝晅",
283
+ "zhaoan",
284
+ "歇熱个時務,阿松歸屋下轉去在客莊个老屋",
285
+ ],
286
+ [
287
+ "預設語者",
288
+ "江芮敏",
289
+ "nansixian",
290
+ "在𠊎讀小學一年生个時節,阿爸輒常用自轉車載𠊎去學校讀書",
291
+ ],
292
+ ],
293
+ label="範例",
294
+ inputs=[
295
+ use_default_emb_or_custom_radio,
296
+ speaker_drop_down,
297
+ dialect_radio,
298
+ input_text,
299
+ ],
300
+ )
301
 
302
  demo.launch()