Skip to content

Commit

Permalink
Merge pull request #70 from fractalego/llm-webserving
Browse files Browse the repository at this point in the history
allowing CORS
  • Loading branch information
fractalego authored Nov 27, 2023
2 parents a04c3f2 + 9ab5a4d commit b7d25ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wafl/runners/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import threading

from flask import Flask, render_template, redirect, url_for
from flask_cors import CORS
from wafl.config import Configuration
from wafl.events.conversation_events import ConversationEvents
from wafl.interface.queue_interface import QueueInterface
Expand All @@ -22,6 +23,7 @@
static_folder=os.path.join(_path, "../frontend/"),
template_folder=os.path.join(_path, "../frontend/"),
)
CORS(app)


@app.route("/create_new_instance", methods=["POST"])
Expand Down

0 comments on commit b7d25ec

Please sign in to comment.