gosign commited on
Commit
b45d081
·
verified ·
1 Parent(s): c779555

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import os
2
- from flask import Flask, request, jsonify, send_file
3
  import websocket
4
  import uuid
5
  import json
@@ -84,7 +84,7 @@ def get_images(ws, prompt, token):
84
  # Default route for home welcome
85
  @app.route('/')
86
  def home():
87
- return "Welcome to ComfyUI API Interface!"
88
 
89
  # Generate image route
90
  @app.route('/generate_image', methods=['POST'])
 
1
  import os
2
+ from flask import Flask, request, jsonify, send_file, render_template
3
  import websocket
4
  import uuid
5
  import json
 
84
  # Default route for home welcome
85
  @app.route('/')
86
  def home():
87
+ return render_template('home.html')
88
 
89
  # Generate image route
90
  @app.route('/generate_image', methods=['POST'])