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