Csplk commited on
Commit
dd7040c
1 Parent(s): c840e14

Update README, add how to generate gradio docs used in sources directory steps

Browse files
Files changed (2) hide show
  1. README.md +3 -3
  2. how2_generate_gradio_docs.txt +13 -0
README.md CHANGED
@@ -1,12 +1,12 @@
1
  ---
2
- title: Rag Community Tool Template
3
  emoji: 📊
4
  colorFrom: indigo
5
  colorTo: blue
6
  sdk: gradio
7
- sdk_version: 4.42.0
 
8
  app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Clone this space, add your documents to the `sources` folder and use your space directly from HuggingChat!
 
1
  ---
2
+ title: Gradio Docs
3
  emoji: 📊
4
  colorFrom: indigo
5
  colorTo: blue
6
  sdk: gradio
7
+ short_description: Gradio Docs space for a gradio docs community tool
8
+ sdk_version: 5.5.0
9
  app_file: app.py
10
  pinned: false
11
  ---
12
 
 
how2_generate_gradio_docs.txt ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cd ..
2
+ git clone https://github.com/gradio-app/gradio
3
+ cd gradio/js/_website/generate_jsons/
4
+ pip install --upgrade pip
5
+ pip install --upgrade -r ~/app/requirements.txt
6
+ pip install boto3
7
+ python generate.py
8
+ cd ../src/lib/json/
9
+ cp changelog.json demos.json docs.json version.json guides/*.json ~/app/sources/
10
+ cd ~/app
11
+ git add sources
12
+ git commit -m "updated gradio sources"
13
+ git push