fix: fix model names
This commit is contained in:
parent
46c8d64dc5
commit
24ee69b98e
@ -108,9 +108,10 @@ def _gen_text(prompt, use_zukijourney=False):
|
||||
|
||||
@app.route('/gen_image', methods=['GET'])
|
||||
def gen_image():
|
||||
print(request.args)
|
||||
prompt = request.args.get('prompt')
|
||||
model = request.args.get('model')
|
||||
model = model if model else "playgroind-v2.5"
|
||||
model = model if model else "playground-v2.5"
|
||||
|
||||
if not prompt:
|
||||
return "Error: No prompt provided", 400
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
const models = [
|
||||
{
|
||||
name: "Runway v2.5",
|
||||
value: "runway-v2.5",
|
||||
name: "Playground v2.5",
|
||||
value: "playground-v2.5",
|
||||
},
|
||||
{
|
||||
name: "Dall-e 3",
|
||||
name: "Dall-E 3",
|
||||
value: "dall-e-3",
|
||||
},
|
||||
{
|
||||
@ -18,8 +18,8 @@
|
||||
value: "stable-diffusion-3",
|
||||
},
|
||||
{
|
||||
name: "Pollinations",
|
||||
value: "pollinations"
|
||||
name: "DreamShaper XL Turbo",
|
||||
value: "dreamshaper-xl-turbo"
|
||||
},
|
||||
{
|
||||
name: "RealVis XL 4",
|
||||
|
Loading…
Reference in New Issue
Block a user