hysts HF Staff commited on
Commit
102c6f6
·
1 Parent(s): 2472f02

Add a regex example

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -17,7 +17,9 @@ def main():
17
  gr.Markdown(DESCRIPTION)
18
  search_box = gr.Textbox(
19
  label='Keywords',
20
- placeholder='You can search for titles with regular expressions')
 
 
21
  case_sensitive = gr.Checkbox(label='Case Sensitive')
22
  search_button = gr.Button('Search')
23
  names_with_link = gr.CheckboxGroup(choices=[
 
17
  gr.Markdown(DESCRIPTION)
18
  search_box = gr.Textbox(
19
  label='Keywords',
20
+ placeholder=
21
+ 'You can search for titles with regular expressions. e.g. (?<!sur)face'
22
+ )
23
  case_sensitive = gr.Checkbox(label='Case Sensitive')
24
  search_button = gr.Button('Search')
25
  names_with_link = gr.CheckboxGroup(choices=[