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