Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import hupper
|
2 |
+
import chatbot
|
3 |
+
from dotenv import load_dotenv, find_dotenv
|
4 |
+
|
5 |
+
"""
|
6 |
+
https://github.com/hwchase17/langchain/issues/1477
|
7 |
+
"""
|
8 |
+
|
9 |
+
|
10 |
+
if __name__ == '__main__':
|
11 |
+
load_dotenv(find_dotenv())
|
12 |
+
reloader = hupper.start_reloader('chatbot.main') # Replace 'your_gradio_app.main' with the function that launches your Gradio app
|
13 |
+
chatbot.main()
|