Spaces:
Runtime error
Runtime error
File size: 363 Bytes
33fbb25 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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) |