Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import io
|
|
5 |
import os
|
6 |
|
7 |
|
8 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
9 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
10 |
|
11 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
@@ -16,8 +16,8 @@ def query(inputs):
|
|
16 |
image = Image.open(io.BytesIO(image_bytes))
|
17 |
return image
|
18 |
|
19 |
-
with gr.Blocks(theme="
|
20 |
-
gr.Markdown("#
|
21 |
|
22 |
with gr.Row():
|
23 |
prompt_input = gr.Textbox(label="Enter a prompt", placeholder="Astronaut riding a horse")
|
|
|
5 |
import os
|
6 |
|
7 |
|
8 |
+
API_URL = "https://api-inference.huggingface.co/models/nevreal/stocking-anarchy-anime-ponyxl-lora-nochekaiser"
|
9 |
API_TOKEN = os.getenv("HF_READ_TOKEN")
|
10 |
|
11 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
|
|
16 |
image = Image.open(io.BytesIO(image_bytes))
|
17 |
return image
|
18 |
|
19 |
+
with gr.Blocks(theme="gradio/soft") as demo:
|
20 |
+
gr.Markdown("# nevreal/stocking-anarchy-anime-ponyxl-lora-nochekaiser serverless")
|
21 |
|
22 |
with gr.Row():
|
23 |
prompt_input = gr.Textbox(label="Enter a prompt", placeholder="Astronaut riding a horse")
|