xyplon
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def Hf():
|
|
50 |
style = request.json.get('style', 'Cinematic')
|
51 |
hash = request.json.get('hash', 'Cinematic')
|
52 |
def Gen(prompt,negative,steps,width,height,scale,style,model):
|
53 |
-
req = requests.post('https://xyplon-
|
54 |
'Authorization' : os.getenv('auth')
|
55 |
},json={
|
56 |
'prompt': prompt,
|
|
|
50 |
style = request.json.get('style', 'Cinematic')
|
51 |
hash = request.json.get('hash', 'Cinematic')
|
52 |
def Gen(prompt,negative,steps,width,height,scale,style,model):
|
53 |
+
req = requests.post('https://xyplon-server1.hf.space/hf/img/gen',headers={
|
54 |
'Authorization' : os.getenv('auth')
|
55 |
},json={
|
56 |
'prompt': prompt,
|