zR
commited on
Commit
·
2f3d2b6
1
Parent(s):
7c6bc2a
test
Browse files- README.md +2 -2
- app.py +1 -1
- 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
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
short_description: Gradio demo of CogView-3-Plus
|
11 |
---
|
12 |
|
13 |
-
|
|
|
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
|
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.
|
2 |
sentencepiece>=0.2.0
|
3 |
-
diffusers
|
4 |
torch
|
5 |
-
gradio>=5.0
|
6 |
transformers>=4.45.2
|
7 |
-
openai>=1.
|
|
|
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
|