File size: 347 Bytes
9d5c2cb
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import hupper
import chatbot
from dotenv import load_dotenv, find_dotenv

"""
https://github.com/hwchase17/langchain/issues/1477
"""


if __name__ == '__main__':
    load_dotenv(find_dotenv())
    reloader = hupper.start_reloader('chatbot.main')  # Replace 'your_gradio_app.main' with the function that launches your Gradio app
    chatbot.main()