Image_Studio / app.py
DigiP-AI's picture
Update app.py
1173d95 verified
raw
history blame
527 Bytes
import gradio as gr
import requests
import json
from gradio_client import Client
client = Client("artificialguybr/RealVisXL-Free-DEMO")
result = client.predict(
prompt="Hello!!",
negative_prompt="",
seed=0,
custom_width=896,
custom_height=1152,
guidance_scale=7,
num_inference_steps=28,
sampler="DPM++ 2M SDE Karras",
aspect_ratio_selector="1024 x 1024",
use_upscaler=False,
upscaler_strength=0.55,
upscale_by=1.5,
api_name="/run"
)
print(result)
app.launch(show_api=False, share=False, error=True)