Abhlash commited on
Commit
81e71fe
·
verified ·
1 Parent(s): 8a0b943

updated app

Browse files
Files changed (1) hide show
  1. app.py +1 -5
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 # Import the bot function from chat.py
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