Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
markpeace
/
rise-ai
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
a718e1e
rise-ai
/
app.py
markpeace
test
a718e1e
over 1 year ago
raw
Copy download link
history
blame
Safe
275 Bytes
#ESTABLISH THE SERVER
from
flask
import
Flask,request
from
dotenv
import
load_dotenv
# Initializing flask app
app = Flask(__name__)
load_dotenv()
@app.route(
"/k"
, methods=[
'GET'
,
'POST'
]
)
def
index
():
from
agent._create
import
agent_executor
return
agent_executor();