Spaces:
Sleeping
Sleeping
File size: 527 Bytes
a03174d 861d39e 65cb2fc 861d39e 65cb2fc 879fee0 65cb2fc 1173d95 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
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) |