Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
markpeace
/
rise-ai
like
0
Sleeping
App
Files
Files
Community
9d18d30
rise-ai
/
app.py
markpeace
changed
e996a6f
10 months ago
raw
Copy download link
history
blame
Safe
274 Bytes
#ESTABLISH THE SERVER
from
flask
import
Flask,request
from
dotenv
import
load_dotenv
# Initializing flask app
app = Flask(__name__)
load_dotenv()
@app.route(
"/"
, methods=[
'GET'
,
'POST'
]
)
def
index
():
from
agent._create
import
agent_executor
return
agent_executor();