Spaces:
Running
Running
update default_model, title, subtitle
Browse files
app.py
CHANGED
@@ -619,17 +619,17 @@ class ChatBot:
|
|
619 |
|
620 |
# UI Code
|
621 |
def create_gradio_interface():
|
622 |
-
with gr.Blocks(title="Chat with CSV using AI Models") as interface:
|
623 |
session_id = gr.State(lambda: str(uuid.uuid4()))
|
624 |
chatbot_state = gr.State(lambda: None)
|
625 |
model_selected = gr.State(lambda: False) # Track if model is already in use
|
626 |
|
627 |
# Get model choices
|
628 |
model_choices = list(MODEL_CONFIG.keys())
|
629 |
-
default_model = "DeepSeek
|
630 |
|
631 |
-
gr.HTML("<h1 style='text-align: center;'>Chat with CSV using AI Models</h1>")
|
632 |
-
gr.HTML("<h3 style='text-align: center;'>
|
633 |
|
634 |
with gr.Row():
|
635 |
with gr.Column(scale=1):
|
|
|
619 |
|
620 |
# UI Code
|
621 |
def create_gradio_interface():
|
622 |
+
with gr.Blocks(title="CSVBot - Chat with CSV using AI Models") as interface:
|
623 |
session_id = gr.State(lambda: str(uuid.uuid4()))
|
624 |
chatbot_state = gr.State(lambda: None)
|
625 |
model_selected = gr.State(lambda: False) # Track if model is already in use
|
626 |
|
627 |
# Get model choices
|
628 |
model_choices = list(MODEL_CONFIG.keys())
|
629 |
+
default_model = "DeepSeek Distill Qwen" # Default model
|
630 |
|
631 |
+
gr.HTML("<h1 style='text-align: center;'>CSVBot - Chat with CSV using AI Models</h1>")
|
632 |
+
gr.HTML("<h3 style='text-align: center;'>AI Assistant to Analyze your CSV file for all your needs</h3>")
|
633 |
|
634 |
with gr.Row():
|
635 |
with gr.Column(scale=1):
|