amirgame197 commited on
Commit
b410510
·
verified ·
1 Parent(s): 8b5798e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -123,18 +123,6 @@ with gr.Blocks() as app:
123
  top_p=gr.Slider(label="Top-P",step=0.01, minimum=0.01, maximum=1.0, value=0.9)
124
  rep_p=gr.Slider(label="Repetition Penalty",step=0.1, minimum=0.1, maximum=2.0, value=1.0)
125
  chat_mem=gr.Number(label="Chat Memory", info="Number of previous chats to retain",value=4)
126
- with gr.Accordion(label="Screenshot",open=False):
127
- with gr.Row():
128
- with gr.Column(scale=3):
129
- im_btn=gr.Button("Screenshot")
130
- img=gr.Image(type='filepath')
131
- with gr.Column(scale=1):
132
- with gr.Row():
133
- im_height=gr.Number(label="Height",value=5000)
134
- im_width=gr.Number(label="Width",value=500)
135
- wait_time=gr.Number(label="Wait Time",value=3000)
136
- theme=gr.Radio(label="Theme", choices=["light","dark"],value="light")
137
- chatblock=gr.Dropdown(label="Chatblocks",info="Choose specific blocks of chat",choices=[c for c in range(1,40)],multiselect=True)
138
 
139
 
140
  client_choice.change(load_models,client_choice,[chat_b])
 
123
  top_p=gr.Slider(label="Top-P",step=0.01, minimum=0.01, maximum=1.0, value=0.9)
124
  rep_p=gr.Slider(label="Repetition Penalty",step=0.1, minimum=0.1, maximum=2.0, value=1.0)
125
  chat_mem=gr.Number(label="Chat Memory", info="Number of previous chats to retain",value=4)
 
 
 
 
 
 
 
 
 
 
 
 
126
 
127
 
128
  client_choice.change(load_models,client_choice,[chat_b])