Spaces:
Sleeping
Sleeping
| import sys, os | |
| sys.path.append(os.path.dirname(os.path.dirname(__file__))) | |
| from bot_service import CareerBot | |
| import gradio as gr | |
| bot = CareerBot() | |
| def chat_fn(message, history): | |
| return bot.chat(message, history, user_id="TestUser") | |
| if __name__ == "__main__": | |
| print("๐ Starting Gradio UI...") | |
| gr.ChatInterface(chat_fn, type="messages").launch() | |