Skip to content

Commit

Permalink
Update views for AI art generator to include new API key
Browse files Browse the repository at this point in the history
  • Loading branch information
alissatroiano committed Jul 25, 2024
1 parent 4971197 commit 8296a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hugo/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def add_hugo(request):
'pop-art': 'SELECT * FROM open_ai.retro WHERE text="{}";',
'digital-art': 'SELECT * FROM open_ai.digital_only WHERE text="{}";',
'fine-art': 'SELECT * FROM open_ai.fine_art WHERE text="{}";',
'street-art': 'SELECT * FROM open_ai.urban_art WHERE text="{}";',
'street-art': 'SELECT * FROM mindsdb.street_art WHERE text="{}";',
'abstract-art': 'SELECT * FROM open_ai.abstract WHERE text="{}";',
'photography': 'SELECT * FROM open_ai.photography WHERE text="{}";'
'photography': 'SELECT * FROM open_ai.digital_only WHERE text="{}";'
}

query_template = style_queries.get(style.name)
Expand Down

0 comments on commit 8296a9c

Please sign in to comment.