Update app.py
Browse files
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 = {
|