gokaygokay
commited on
Commit
•
ee2bdc7
1
Parent(s):
53335b9
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ download_file("https://huggingface.co/ai-forever/Real-ESRGAN/resolve/main/RealES
|
|
49 |
|
50 |
# Download the model files
|
51 |
ckpt_dir_pony = snapshot_download(repo_id="John6666/pony-realism-v21main-sdxl")
|
52 |
-
ckpt_dir_cyber = snapshot_download(repo_id="John6666/cyberrealistic-pony-
|
53 |
ckpt_dir_stallion = snapshot_download(repo_id="John6666/stallion-dreams-pony-realistic-v1-sdxl")
|
54 |
|
55 |
# Load the models
|
@@ -195,7 +195,7 @@ def generate_image(model_choice, additional_positive_prompt, additional_negative
|
|
195 |
# Select the appropriate pipe based on the model choice
|
196 |
if model_choice == "Pony Realism v21":
|
197 |
pipe = pipe_pony
|
198 |
-
elif model_choice == "Cyber Realistic Pony
|
199 |
pipe = pipe_cyber
|
200 |
else: # "Stallion Dreams Pony Realistic v1"
|
201 |
pipe = pipe_stallion
|
@@ -283,7 +283,7 @@ with gr.Blocks(theme='bethecloud/storj_theme') as demo:
|
|
283 |
<h1 align="center">Pony Realism / Cyber Realism / Stallion Dreams</h1>
|
284 |
<p align="center">
|
285 |
<a href="https://huggingface.co/John6666/pony-realism-v21main-sdxl/" target="_blank">[Pony Realism]</a>
|
286 |
-
<a href="https://huggingface.co/John6666/cyberrealistic-pony-
|
287 |
<a href="https://huggingface.co/John6666/stallion-dreams-pony-realistic-v1-sdxl" target="_blank">[Stallion Dreams]</a><br>
|
288 |
<a href="https://civitai.com/models/372465/pony-realism" target="_blank">[Pony Realism civitai]</a>
|
289 |
<a href="https://civitai.com/models/443821?modelVersionId=680915" target="_blank">[Cyberrealistic Pony civitai]</a>
|
@@ -297,7 +297,7 @@ with gr.Blocks(theme='bethecloud/storj_theme') as demo:
|
|
297 |
with gr.Row():
|
298 |
with gr.Column(scale=1):
|
299 |
model_choice = gr.Dropdown(
|
300 |
-
["Pony Realism v21", "Cyber Realistic Pony
|
301 |
label="Model Choice",
|
302 |
value="Pony Realism v21")
|
303 |
positive_prompt = gr.Textbox(label="Positive Prompt", placeholder="Add your positive prompt here")
|
|
|
49 |
|
50 |
# Download the model files
|
51 |
ckpt_dir_pony = snapshot_download(repo_id="John6666/pony-realism-v21main-sdxl")
|
52 |
+
ckpt_dir_cyber = snapshot_download(repo_id="John6666/cyberrealistic-pony-v63-sdxl")
|
53 |
ckpt_dir_stallion = snapshot_download(repo_id="John6666/stallion-dreams-pony-realistic-v1-sdxl")
|
54 |
|
55 |
# Load the models
|
|
|
195 |
# Select the appropriate pipe based on the model choice
|
196 |
if model_choice == "Pony Realism v21":
|
197 |
pipe = pipe_pony
|
198 |
+
elif model_choice == "Cyber Realistic Pony v63":
|
199 |
pipe = pipe_cyber
|
200 |
else: # "Stallion Dreams Pony Realistic v1"
|
201 |
pipe = pipe_stallion
|
|
|
283 |
<h1 align="center">Pony Realism / Cyber Realism / Stallion Dreams</h1>
|
284 |
<p align="center">
|
285 |
<a href="https://huggingface.co/John6666/pony-realism-v21main-sdxl/" target="_blank">[Pony Realism]</a>
|
286 |
+
<a href="https://huggingface.co/John6666/cyberrealistic-pony-v63-sdxl" target="_blank">[Cyberrealistic Pony]</a>
|
287 |
<a href="https://huggingface.co/John6666/stallion-dreams-pony-realistic-v1-sdxl" target="_blank">[Stallion Dreams]</a><br>
|
288 |
<a href="https://civitai.com/models/372465/pony-realism" target="_blank">[Pony Realism civitai]</a>
|
289 |
<a href="https://civitai.com/models/443821?modelVersionId=680915" target="_blank">[Cyberrealistic Pony civitai]</a>
|
|
|
297 |
with gr.Row():
|
298 |
with gr.Column(scale=1):
|
299 |
model_choice = gr.Dropdown(
|
300 |
+
["Pony Realism v21", "Cyber Realistic Pony v63", "Stallion Dreams Pony Realistic v1"],
|
301 |
label="Model Choice",
|
302 |
value="Pony Realism v21")
|
303 |
positive_prompt = gr.Textbox(label="Positive Prompt", placeholder="Add your positive prompt here")
|