KingNish commited on
Commit
cb2ad62
1 Parent(s): 239b0a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -9
app.py CHANGED
@@ -78,14 +78,6 @@ with gr.Blocks() as voice:
78
  with gr.Row():
79
  select = gr.Dropdown(['Nous Hermes Mixtral 8x7B DPO', 'Mixtral 8x7B', 'StarChat2 15b', 'Mistral 7B v0.3',
80
  'Phi 3 mini', 'Zephyr 7b'], value="Mistral 7B v0.3", label="Select Model")
81
- seed = gr.Slider(
82
- label="Seed",
83
- minimum=0,
84
- maximum=999999,
85
- step=1,
86
- value=0,
87
- visible=False
88
- )
89
  input = gr.Audio(label="User", sources="microphone", type="filepath", waveform_options=False)
90
  output = gr.Audio(label="AI", type="filepath",
91
  interactive=False,
@@ -93,7 +85,7 @@ with gr.Blocks() as voice:
93
  elem_classes="audio")
94
  gr.Interface(
95
  fn=respond,
96
- inputs=[input, select, seed],
97
  outputs=[output], api_name="translate", live=True)
98
 
99
  # Live chat block
 
78
  with gr.Row():
79
  select = gr.Dropdown(['Nous Hermes Mixtral 8x7B DPO', 'Mixtral 8x7B', 'StarChat2 15b', 'Mistral 7B v0.3',
80
  'Phi 3 mini', 'Zephyr 7b'], value="Mistral 7B v0.3", label="Select Model")
 
 
 
 
 
 
 
 
81
  input = gr.Audio(label="User", sources="microphone", type="filepath", waveform_options=False)
82
  output = gr.Audio(label="AI", type="filepath",
83
  interactive=False,
 
85
  elem_classes="audio")
86
  gr.Interface(
87
  fn=respond,
88
+ inputs=[input, select],
89
  outputs=[output], api_name="translate", live=True)
90
 
91
  # Live chat block