import os, sys from os.path import dirname as up sys.path.append(os.path.abspath(os.path.join(up(__file__), os.pardir))) from utils import * from gradio_app import * demo = gradio_interface(return_response_chain) # Use this config when running on Docker # demo.launch(server_name="0.0.0.0", server_port=7000) # To run on local machine demo.launch(inline=False)