amirgame197 commited on
Commit
8614636
·
verified ·
1 Parent(s): ae4187e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -138,18 +138,6 @@ with gr.Blocks() as app:
138
  top_p=gr.Slider(label="Top-P",step=0.01, minimum=0.01, maximum=1.0, value=0.9)
139
  rep_p=gr.Slider(label="Repetition Penalty",step=0.1, minimum=0.1, maximum=2.0, value=1.0)
140
  chat_mem=gr.Number(label="Chat Memory", info="Number of previous chats to retain",value=4)
141
- with gr.Accordion(label="Screenshot",open=False):
142
- with gr.Row():
143
- with gr.Column(scale=3):
144
- im_btn=gr.Button("Screenshot")
145
- img=gr.Image(type='filepath')
146
- with gr.Column(scale=1):
147
- with gr.Row():
148
- im_height=gr.Number(label="Height",value=5000)
149
- im_width=gr.Number(label="Width",value=500)
150
- wait_time=gr.Number(label="Wait Time",value=3000)
151
- theme=gr.Radio(label="Theme", choices=["light","dark"],value="light")
152
- chatblock=gr.Dropdown(label="Chatblocks",info="Choose specific blocks of chat",choices=[c for c in range(1,40)],multiselect=True)
153
 
154
 
155
  client_choice.change(load_models,client_choice,[chat_b])
 
138
  top_p=gr.Slider(label="Top-P",step=0.01, minimum=0.01, maximum=1.0, value=0.9)
139
  rep_p=gr.Slider(label="Repetition Penalty",step=0.1, minimum=0.1, maximum=2.0, value=1.0)
140
  chat_mem=gr.Number(label="Chat Memory", info="Number of previous chats to retain",value=4)
 
 
 
 
 
 
 
 
 
 
 
 
141
 
142
 
143
  client_choice.change(load_models,client_choice,[chat_b])