Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
CineDiffusion
Commits
92e15272
Commit
92e15272
authored
Dec 04, 2024
by
chenpangpang
Browse files
feat: update
parent
8e0fac1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CineDiffusion/app.py
CineDiffusion/app.py
+0
-2
CineDiffusion/requirements.txt
CineDiffusion/requirements.txt
+3
-0
No files found.
CineDiffusion/app.py
View file @
92e15272
import
gradio
as
gr
import
numpy
as
np
import
spaces
import
torch
from
diffusers
import
DiffusionPipeline
from
numpy.random
import
PCG64DXSM
,
Generator
,
SeedSequence
...
...
@@ -64,7 +63,6 @@ def get_random_seed() -> int:
return
int
(
rng
.
integers
(
0
,
MAX_SEED
))
@
spaces
.
GPU
()
def
infer
(
prompt
:
str
,
aspect_ratio
:
str
,
...
...
CineDiffusion/requirements.txt
View file @
92e15272
xformers
sentencepiece
peft
invisible_watermark
protobuf
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment