Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import gradio as gr
|
2 |
-
from gradio_client import Client
|
3 |
import os
|
4 |
|
5 |
MORE = """ ## TRY Other Models
|
@@ -7,9 +6,6 @@ MORE = """ ## TRY Other Models
|
|
7 |
### Instant Image: 4k images in 5 Second -> https://huggingface.co/spaces/KingNish/Instant-Image
|
8 |
"""
|
9 |
|
10 |
-
# Gradio Client
|
11 |
-
client = Client("KingNish/Instant-Video")
|
12 |
-
|
13 |
# Function
|
14 |
def generate_image(prompt, base="Anime", motion="", step=8, progress=gr.Progress()):
|
15 |
API_URL = "https://api-inference.huggingface.co/models/KingNish/Instant-Video"
|
|
|
1 |
import gradio as gr
|
|
|
2 |
import os
|
3 |
|
4 |
MORE = """ ## TRY Other Models
|
|
|
6 |
### Instant Image: 4k images in 5 Second -> https://huggingface.co/spaces/KingNish/Instant-Image
|
7 |
"""
|
8 |
|
|
|
|
|
|
|
9 |
# Function
|
10 |
def generate_image(prompt, base="Anime", motion="", step=8, progress=gr.Progress()):
|
11 |
API_URL = "https://api-inference.huggingface.co/models/KingNish/Instant-Video"
|