Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ MAX_SEED = np.iinfo(np.int32).max
|
|
38 |
|
39 |
@spaces.GPU
|
40 |
def infer(prompt, seed=42, randomize_seed=False, num_inference_steps=4, progress=gr.Progress(track_tqdm=True)):
|
41 |
-
prompt_template = f"A side by side 4 frame image showing consecutive stills from a looped gif moving from left to right. The
|
42 |
if randomize_seed:
|
43 |
seed = random.randint(0, MAX_SEED)
|
44 |
|
@@ -57,7 +57,7 @@ def infer(prompt, seed=42, randomize_seed=False, num_inference_steps=4, progress
|
|
57 |
return gif_name, gr.Image(value=image, visible=True), seed
|
58 |
|
59 |
examples = [
|
60 |
-
"a cute cat raising
|
61 |
"Will Smith eating pizza",
|
62 |
"A flying saucer over the white house",
|
63 |
]
|
|
|
38 |
|
39 |
@spaces.GPU
|
40 |
def infer(prompt, seed=42, randomize_seed=False, num_inference_steps=4, progress=gr.Progress(track_tqdm=True)):
|
41 |
+
prompt_template = f"A side by side 4 frame image showing consecutive stills from a looped gif moving from left to right. The stills are of {prompt}"
|
42 |
if randomize_seed:
|
43 |
seed = random.randint(0, MAX_SEED)
|
44 |
|
|
|
57 |
return gif_name, gr.Image(value=image, visible=True), seed
|
58 |
|
59 |
examples = [
|
60 |
+
"a cute cat raising holding a sign that reads \"Flux does Video?\"",
|
61 |
"Will Smith eating pizza",
|
62 |
"A flying saucer over the white house",
|
63 |
]
|