Spaces:
Runtime error
Runtime error
from utils import chatbot | |
import gradio as gr | |
import logging | |
import traceback | |
try: | |
gr.ChatInterface(fn=chatbot, | |
chatbot=gr.Chatbot(height=600), | |
textbox=gr.Textbox(placeholder="Ask me a question related to Booking time slots", container=False, scale=7), | |
title="Agent Booking System", | |
).launch() | |
except Exception as e: | |
logging.error(f"Error occurred: {e}\n{traceback.format_exc()}") |