gradio-pr-bot commited on
Commit
7013cf7
·
verified ·
1 Parent(s): 5cf5496

Upload folder using huggingface_hub

Browse files
6.1.0/dialogue/Dialogue.svelte CHANGED
@@ -482,22 +482,14 @@
482
  readonly
483
  />
484
  {:else}
485
- {@const dd_props = new Gradio({
486
- shared_props: {
487
- container: true,
488
- show_label: false,
489
- interactive: true,
490
- label: ""
491
- },
492
- props: {
493
- value: line.speaker,
494
- choices: gradio.props.speakers.map((s) => [s, s])
495
- }
496
- })}
497
  <BaseDropdown
498
- on_change={() =>
499
- update_line(i, "speaker", dd_props.props.value as string)}
500
- gradio={dd_props}
 
 
 
 
501
  />
502
  {/if}
503
  </div>
 
482
  readonly
483
  />
484
  {:else}
 
 
 
 
 
 
 
 
 
 
 
 
485
  <BaseDropdown
486
+ label=""
487
+ show_label={false}
488
+ container={true}
489
+ interactive={true}
490
+ value={line.speaker}
491
+ choices={gradio.props.speakers.map((s) => [s, s])}
492
+ on_change={(val) => update_line(i, "speaker", val as string)}
493
  />
494
  {/if}
495
  </div>
6.1.0/dialogue/package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "@gradio/dialogue",
3
- "version": "0.2.4",
4
  "description": "Gradio dialogue component",
5
  "type": "module",
6
  "author": "Gradio",
 
1
  {
2
  "name": "@gradio/dialogue",
3
+ "version": "0.2.5",
4
  "description": "Gradio dialogue component",
5
  "type": "module",
6
  "author": "Gradio",