Spaces:
Running
Running
add trigger word
Browse files- gradio_app.py +2 -0
gradio_app.py
CHANGED
@@ -35,6 +35,8 @@ def infer(text_prompt, action_prompt, profile: gr.OAuthProfile, oauth_token: gr.
|
|
35 |
|
36 |
|
37 |
gr_client = Client("Lightricks/ltx-video-distilled", hf_token=gradio_auth_token)
|
|
|
|
|
38 |
result = gr_client.predict(
|
39 |
prompt=action_prompt,
|
40 |
negative_prompt="worst quality, inconsistent motion, blurry, jittery, distorted",
|
|
|
35 |
|
36 |
|
37 |
gr_client = Client("Lightricks/ltx-video-distilled", hf_token=gradio_auth_token)
|
38 |
+
|
39 |
+
action_prompt = f"{action_prompt}, RBNBICN, icon, white background, isometric perspective"
|
40 |
result = gr_client.predict(
|
41 |
prompt=action_prompt,
|
42 |
negative_prompt="worst quality, inconsistent motion, blurry, jittery, distorted",
|