Omnibus commited on
Commit
346e2ba
1 Parent(s): 7036129

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -11
app.py CHANGED
@@ -16,13 +16,6 @@ models=[
16
  "mistralai/Mixtral-8x7B-Instruct-v0.1",
17
  "mistralai/Mixtral-8x7B-Instruct-v0.2"
18
  ]
19
- '''clients=[
20
- InferenceClient(models[0]),
21
- InferenceClient(models[1]),
22
- InferenceClient(models[2]),
23
- InferenceClient(models[3]),
24
- ]'''
25
-
26
  client_z=[]
27
 
28
 
@@ -276,10 +269,10 @@ with gr.Blocks() as app:
276
  wait_time=gr.Number(label="Wait Time",value=3000)
277
  theme=gr.Radio(label="Theme", choices=["light","dark"],value="light")
278
  chatblock=gr.Dropdown(label="Chatblocks",info="Choose specific blocks of chat",choices=[c for c in range(1,40)],multiselect=True)
279
- hid1=gr.Number(value=1)
280
- hid2=gr.Number(value=2)
281
- hid3=gr.Number(value=3)
282
- hid4=gr.Number(value=4)
283
  client_choice.change(load_models,client_choice,[chat_a,chat_b,chat_c,chat_d])
284
 
285
  #im_go=im_btn.click(get_screenshot,[chat_b,im_height,im_width,chatblock,theme,wait_time],img)
 
16
  "mistralai/Mixtral-8x7B-Instruct-v0.1",
17
  "mistralai/Mixtral-8x7B-Instruct-v0.2"
18
  ]
 
 
 
 
 
 
 
19
  client_z=[]
20
 
21
 
 
269
  wait_time=gr.Number(label="Wait Time",value=3000)
270
  theme=gr.Radio(label="Theme", choices=["light","dark"],value="light")
271
  chatblock=gr.Dropdown(label="Chatblocks",info="Choose specific blocks of chat",choices=[c for c in range(1,40)],multiselect=True)
272
+ hid1=gr.Number(value=1,visible=False)
273
+ hid2=gr.Number(value=2,visible=False)
274
+ hid3=gr.Number(value=3,visible=False)
275
+ hid4=gr.Number(value=4,visible=False)
276
  client_choice.change(load_models,client_choice,[chat_a,chat_b,chat_c,chat_d])
277
 
278
  #im_go=im_btn.click(get_screenshot,[chat_b,im_height,im_width,chatblock,theme,wait_time],img)