Spaces:
Runtime error
Runtime error
xyplon
commited on
Commit
•
9ca8d3f
1
Parent(s):
58c8cbc
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def Hf():
|
|
32 |
model = request.json.get('model','sd3')
|
33 |
style = request.json.get('style', 'Cinematic')
|
34 |
def Gen(prompt,negative,steps,width,height,scale,style,model):
|
35 |
-
req = requests.post('https://xyplon
|
36 |
'Authorization' : os.getenv('auth')
|
37 |
},json={
|
38 |
'prompt': prompt,
|
|
|
32 |
model = request.json.get('model','sd3')
|
33 |
style = request.json.get('style', 'Cinematic')
|
34 |
def Gen(prompt,negative,steps,width,height,scale,style,model):
|
35 |
+
req = requests.post('https://xyplon.onrender.com/hf/img/gen',headers={
|
36 |
'Authorization' : os.getenv('auth')
|
37 |
},json={
|
38 |
'prompt': prompt,
|