Kastg commited on
Commit
0fd4190
·
verified ·
1 Parent(s): 08e8603

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -122,7 +122,7 @@ def getAvailableStyles():
122
 
123
  prodia = Prodia(getRandomApiKey())
124
 
125
- @app.route('/kastg123/styles', methods=['GET'])
126
  def get_styles():
127
  with open("style.json", "r") as style_file:
128
  styles = json.load(style_file)
@@ -170,7 +170,7 @@ def upload_image():
170
 
171
 
172
 
173
- @app.route('/kastg123/generate', methods=['POST'])
174
  async def generate_image():
175
  try:
176
  data = request.json
 
122
 
123
  prodia = Prodia(getRandomApiKey())
124
 
125
+ @app.route('/styles', methods=['GET'])
126
  def get_styles():
127
  with open("style.json", "r") as style_file:
128
  styles = json.load(style_file)
 
170
 
171
 
172
 
173
+ @app.route('/generate', methods=['POST'])
174
  async def generate_image():
175
  try:
176
  data = request.json