sdrv1_3 / app.py
Thafx's picture
Upload app.py with huggingface_hub
8609e3f
raw
history blame
1.79 kB
import os
import gradio as gr
API_KEY=os.environ.get('HUGGING_FACE_HUB_TOKEN', None)
article = """---
This space was created using [SD Space Creator](https://huggingface.co/spaces/anzorq/sd-space-creator)."""
gr.Interface.load(
name="models/SG161222/Realistic_Vision_V1.3",
title="""Realistic Vision V1.3""",
description="""Demo for <a href="https://huggingface.co/SG161222/Realistic_Vision_V1.3">Realistic Vision V1.3</a> Stable Diffusion model by "Eugene".
Please use this prompt template to get the desired generation results:
Prompt:
RAW photo, *subject*, (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
Example: RAW photo, a close up portrait photo of 26 y.o woman in wastelander clothes, long haircut, pale skin, slim body, background is city ruins, (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
Negative Prompt:
(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck
Euler a with 25 steps
CFG Scale 7
Hires. fix with R-ESRGAN General WDN 4xV3 upscaler
25 Hires steps and Denoising strength 0.25-0.7
or
10 Hires steps and Denoising strength 0.025-0.1 for save more details
Have Fun & Enjoy
//THAFX""",
article=article,
api_key=API_KEY,
).queue(concurrency_count=20).launch()