GLM 5.2 commited on
Commit
3953d49
·
1 Parent(s): 639e5b2

Pin gradio 6.20.0 and scope OAuth to inference-api only

Browse files

- sdk_version 6.20.0; requirements gradio>=6.20.0
- hf_oauth: true with a single hf_oauth_scopes entry (inference-api),
since the workflow only calls the model via the HF Inference API and
needs no repo read/write/gated/manage access

Files changed (2) hide show
  1. README.md +3 -1
  2. requirements.txt +1 -1
README.md CHANGED
@@ -4,10 +4,12 @@ emoji: 🖼️
4
  colorFrom: yellow
5
  colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 6.1.0
8
  app_file: app.py
9
  pinned: true
10
  hf_oauth: true
 
 
11
  ---
12
 
13
  # Z-Image-Turbo (Gradio Workflow)
 
4
  colorFrom: yellow
5
  colorTo: yellow
6
  sdk: gradio
7
+ sdk_version: 6.20.0
8
  app_file: app.py
9
  pinned: true
10
  hf_oauth: true
11
+ hf_oauth_scopes:
12
+ - inference-api
13
  ---
14
 
15
  # Z-Image-Turbo (Gradio Workflow)
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
- gradio>=6.1
2
  huggingface_hub>=0.36.0
3
  gradio[mcp]
 
1
+ gradio>=6.20.0
2
  huggingface_hub>=0.36.0
3
  gradio[mcp]