Rooni commited on
Commit
97afb33
1 Parent(s): 63ce4a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ MORE = """ ## TRY Other Models
11
 
12
  # Function
13
  def generate_image(prompt, base="Anime", motion="", step=8, progress=gr.Progress()):
14
- API_URL = "https://api-inference.huggingface.co/models/KingNish/Instant-Video"
15
  headers = {"Authorization": f"Bearer {os.environ.get('HF_API_TOKEN')}"} # Замените на ваш токен Hugging Face API
16
 
17
  payload = {
 
11
 
12
  # Function
13
  def generate_image(prompt, base="Anime", motion="", step=8, progress=gr.Progress()):
14
+ API_URL = "https://api-inference.huggingface.co/models/KingNish/Instant-Video/generate_image_1"
15
  headers = {"Authorization": f"Bearer {os.environ.get('HF_API_TOKEN')}"} # Замените на ваш токен Hugging Face API
16
 
17
  payload = {