fffiloni commited on
Commit
bd97426
·
verified ·
1 Parent(s): 533e076

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +1 -1
gradio_app.py CHANGED
@@ -33,7 +33,7 @@ def infer(text_prompt, action_prompt, profile: gr.OAuthProfile, oauth_token: gr.
33
  print(f"✅ Image saved temporarily at: {temp_image_path}")
34
 
35
 
36
- gr_client = Client("Lightricks/ltx-video-distilled")
37
  result = gr_client.predict(
38
  prompt=action_prompt,
39
  negative_prompt="worst quality, inconsistent motion, blurry, jittery, distorted",
 
33
  print(f"✅ Image saved temporarily at: {temp_image_path}")
34
 
35
 
36
+ gr_client = Client("Lightricks/ltx-video-distilled", hf_token=oauth_token.token)
37
  result = gr_client.predict(
38
  prompt=action_prompt,
39
  negative_prompt="worst quality, inconsistent motion, blurry, jittery, distorted",