Textwizai / app.py
Erfan11's picture
Update app.py
c0e0b2c verified
raw
history blame
277 Bytes
import os
from dotenv import load_dotenv
from flask import Flask
load_dotenv()
api_key = os.getenv('HF_API_KEY')
model_path = os.getenv('MODEL_PATH')
app = Flask(__name__)
@app.route('/')
def index():
return "Welcome to My ai!"
if __name__ == '__main__':
app.run()