broadfield commited on
Commit
7b00e7b
·
verified ·
1 Parent(s): 9ca0fe5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -30,6 +30,15 @@ style="""
30
  border-radius: 10px 10px 0 0;
31
  float: right;
32
  }
 
 
 
 
 
 
 
 
 
33
  .frame_class{
34
  display:none;
35
  }
@@ -108,7 +117,7 @@ with gr.Blocks(css=style,head=head) as b:
108
  html_out=gr.HTML()
109
  json_out=gr.JSON()
110
 
111
- hid_start=gr.Number(elem_id='read',step=1,value=0,visible=False, interactive=True)
112
  hid_start=gr.Number(step=1,value=0,visible=False, interactive=False)
113
 
114
  next_btn.click(next_show,[hid_start],[prev_btn,hid_start]).then(show_num,hid_start,show_html).then(search,[query,num,hid_start],[html_out])
 
30
  border-radius: 10px 10px 0 0;
31
  float: right;
32
  }
33
+ .x_btn{
34
+ font-size: xx-large;
35
+ font-weight: 900;
36
+ background: chocolate;
37
+ width: fit-content;
38
+ padding: 0 10px;
39
+ border-radius: 10px 10px 0 0;
40
+ float: left;
41
+ }
42
  .frame_class{
43
  display:none;
44
  }
 
117
  html_out=gr.HTML()
118
  json_out=gr.JSON()
119
 
120
+ hid_start=gr.Number(elem_id='read',step=1,value=0,visible=True, interactive=True)
121
  hid_start=gr.Number(step=1,value=0,visible=False, interactive=False)
122
 
123
  next_btn.click(next_show,[hid_start],[prev_btn,hid_start]).then(show_num,hid_start,show_html).then(search,[query,num,hid_start],[html_out])