KingNish commited on
Commit
1bd41f9
1 Parent(s): a185be6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -3
app.py CHANGED
@@ -546,9 +546,25 @@ with gr.Blocks(
546
  )
547
 
548
  with gr.Blocks() as voice:
549
- with gr.Row():
550
- input = gr.Audio(label="Voice Chat", sources="microphone", type="filepath", waveform_options=False)
551
- output = gr.Audio(label="OpenGPT 4o", type="filepath",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
552
  interactive=False,
553
  autoplay=True,
554
  elem_classes="audio")
 
546
  )
547
 
548
  with gr.Blocks() as voice:
549
+ with gr.Row():
550
+ select = gr.Dropdown([ 'Mixtral 8x7B',
551
+ 'Llama 3 8B',
552
+ 'Mistral 7B v0.3',
553
+ 'Phi 3 mini',
554
+ ],
555
+ value="Mixtral 8x7B",
556
+ label="Model"
557
+ )
558
+ seed = gr.Slider(
559
+ label="Seed",
560
+ minimum=0,
561
+ maximum=999999,
562
+ step=1,
563
+ value=0,
564
+ visible=False
565
+ )
566
+ input = gr.Audio(label="User", sources="microphone", type="filepath", waveform_options=False)
567
+ output = gr.Audio(label="AI", type="filepath",
568
  interactive=False,
569
  autoplay=True,
570
  elem_classes="audio")