File size: 279 Bytes
dc480fb
d38e396
 
732d546
d38e396
 
 
732d546
d38e396
dc480fb
d38e396
 
 
dc480fb
d38e396
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 Textwiz!"

if __name__ == '__main__':
    app.run()