Image_Studio / app.py
DigiP-AI's picture
Update app.py
65cb2fc verified
raw
history blame
475 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=1024,
custom_height=1024,
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)