tarist-web / wsgi_pythonanywhere_sample.py
moathA's picture
Upload folder using huggingface_hub
01704b9 verified
raw
history blame contribute delete
201 Bytes
import sys
import os
# Set up paths for PythonAnywhere
path = '/home/YOUR_USERNAME/YOUR_PROJECT_FOLDER'
if path not in sys.path:
sys.path.append(path)
from app import app as application