MaxSainz2000 commited on
Commit
761fe61
·
verified ·
1 Parent(s): 9b5a4c7

Update settings.yml

Browse files
Files changed (1) hide show
  1. settings.yml +4 -6
settings.yml CHANGED
@@ -1,17 +1,15 @@
1
  use_default_settings: true
2
  server:
3
- # Hugging Face runs on port 7860 internally
4
- port: 7860
5
- bind_address: "0.0.0.0"
6
- secret_key: "ultrasecretkey"
7
  limiter: false
8
  image_proxy: true
9
- # This URL must match your final Space URL (we will fix this later if needed)
10
  base_url: "https://huggingface.co/spaces/MaxSainz2000/private-search-engine"
11
  search:
12
  formats:
13
  - html
14
- - json # <--- THIS IS WHAT WE NEED
15
  engines:
16
  - name: google
17
  engine: google
 
1
  use_default_settings: true
2
  server:
3
+ # Random key to prevent the crash
4
+ secret_key: "f8d9a23b9d8e7c6a5b4c3d2e1f0a9b8c"
 
 
5
  limiter: false
6
  image_proxy: true
7
+ # Base URL still needs to be your space URL
8
  base_url: "https://huggingface.co/spaces/MaxSainz2000/private-search-engine"
9
  search:
10
  formats:
11
  - html
12
+ - json
13
  engines:
14
  - name: google
15
  engine: google