DefectRAG / app.py
Wizzas's picture
DefectRAG phase 4: incremental real-model application migration
ebbcf47 verified
Raw History Blame Contribute Delete
380 Bytes
import os
from pathlib import Path
os.environ['DEFECTRAG_SPACE_UI']=str(Path(__file__).parent/'frontend/dist')
os.environ['GRADIO_ANALYTICS_ENABLED']='False'
os.environ['DEFECTRAG_LIVE_RAG']='1'
os.environ['DEFECTRAG_STAFF_BACKEND']='1'
from deployment.space.app import server
server.launch(server_name='0.0.0.0',server_port=7860,ssr_mode=False,show_error=True,run_history=False)