zR commited on
Commit
2f3d2b6
·
1 Parent(s): 7c6bc2a
Files changed (3) hide show
  1. README.md +2 -2
  2. app.py +1 -1
  3. requirements.txt +4 -4
README.md CHANGED
@@ -4,10 +4,10 @@ emoji: 🖌️
4
  colorFrom: purple
5
  colorTo: red
6
  sdk: gradio
7
- sdk_version: 5.0.2
8
  app_file: app.py
9
  pinned: false
10
  short_description: Gradio demo of CogView-3-Plus
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
4
  colorFrom: purple
5
  colorTo: red
6
  sdk: gradio
7
+ sdk_version: 5.12.0
8
  app_file: app.py
9
  pinned: false
10
  short_description: Gradio demo of CogView-3-Plus
11
  ---
12
 
13
+ ## CogView3-Plus-3B
app.py CHANGED
@@ -6,7 +6,7 @@ from datetime import datetime, timedelta
6
 
7
  import gradio as gr
8
  import random
9
- import spaces # [uncomment to use ZeroGPU]
10
  from diffusers import CogView3PlusPipeline
11
  import torch
12
  from openai import OpenAI
 
6
 
7
  import gradio as gr
8
  import random
9
+ import spaces
10
  from diffusers import CogView3PlusPipeline
11
  import torch
12
  from openai import OpenAI
requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
- accelerate>=1.0.0
2
  sentencepiece>=0.2.0
3
- diffusers@git+https://github.com/zRzRzRzRzRzRzR/diffusers.git@cogview3-plus
4
  torch
5
- gradio>=5.0.2
6
  transformers>=4.45.2
7
- openai>=1.51.2
 
1
+ accelerate>=1.1.0
2
  sentencepiece>=0.2.0
3
+ diffusers>=0.32.0
4
  torch
5
+ gradio>=5.12.0
6
  transformers>=4.45.2
7
+ openai>=1.56.0