Spaces:
Runtime error
Runtime error
File size: 458 Bytes
f560c04 8104b87 f560c04 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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()}") |