tsereno commited on
Commit
97b2304
1 Parent(s): 9decec7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -18
app.py CHANGED
@@ -175,6 +175,23 @@ top_p_component = gr.Slider(
175
  "the next token (using temperature). "
176
  ))
177
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
  examples_list = gr.Examples(
179
  fn=bot,
180
  inputs=bot_inputs,
@@ -207,24 +224,6 @@ examples_list = gr.Examples(
207
  #cache_examples="lazy",
208
  )
209
 
210
-
211
- user_inputs = [
212
- text_prompt_component,
213
- chatbot_component
214
- ]
215
-
216
- bot_inputs = [
217
- google_key_component,
218
- model_selection,
219
- image_prompt_component,
220
- temperature_component,
221
- max_output_tokens_component,
222
- stop_sequences_component,
223
- top_k_component,
224
- top_p_component,
225
- chatbot_component
226
- ]
227
-
228
  with gr.Blocks() as demo:
229
  gr.HTML(TITLE)
230
  gr.HTML(SUBTITLE)
 
175
  "the next token (using temperature). "
176
  ))
177
 
178
+ user_inputs = [
179
+ text_prompt_component,
180
+ chatbot_component
181
+ ]
182
+
183
+ bot_inputs = [
184
+ google_key_component,
185
+ model_selection,
186
+ image_prompt_component,
187
+ temperature_component,
188
+ max_output_tokens_component,
189
+ stop_sequences_component,
190
+ top_k_component,
191
+ top_p_component,
192
+ chatbot_component
193
+ ]
194
+
195
  examples_list = gr.Examples(
196
  fn=bot,
197
  inputs=bot_inputs,
 
224
  #cache_examples="lazy",
225
  )
226
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  with gr.Blocks() as demo:
228
  gr.HTML(TITLE)
229
  gr.HTML(SUBTITLE)