updated app
Browse files
app.py
CHANGED
@@ -1,9 +1,5 @@
|
|
1 |
-
import sys
|
2 |
-
import os
|
3 |
-
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
4 |
-
|
5 |
import gradio as gr
|
6 |
-
from bots.chat import bot #
|
7 |
|
8 |
def chat_interface(user_message, history):
|
9 |
history.append((user_message, None)) # Append the user message to history
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
+
from .bots.chat import bot # Use relative import
|
3 |
|
4 |
def chat_interface(user_message, history):
|
5 |
history.append((user_message, None)) # Append the user message to history
|