File size: 1,184 Bytes
76aa573
 
49655be
76aa573
dff029f
 
 
 
 
76aa573
 
dff029f
 
49655be
b117476
b0a5efe
dff029f
 
 
 
 
 
49655be
 
dff029f
b3b929b
49655be
c587d34
b3b929b
 
 
 
 
 
 
 
76aa573
 
dff029f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import gradio as gr

from src.ui import sidebar_ui, dashboard_ui

custom_theme = gr.themes.Base(
    primary_hue="blue",
    secondary_hue="green",
    neutral_hue="gray",
    font=[gr.themes.GoogleFont("Open Sans"), "sans-serif"],
)

with gr.Blocks(theme=custom_theme) as demo:

        # HEADER
        gr.Markdown("# AI Industrial Efficiency Helper ⚡️")
        gr.Markdown("### *AI for efficiency in Industries & Services*")
        gr.Markdown(
            """
            This demo showcases the capabilities of IndustryMind AI.
            You can interact with the chatbot to get insights and assistance on production-related queries.
            """
        )
        # CHAT INTERFACE
        sidebar_ui(width=700, visible=True)

        # DASHBOARD
        dashboard_ui()

        # DESCRIPTION
        with gr.Tab("Description"):
            gr.Markdown(
                """
                IndustryMind AI is an AI-powered chatbot designed to assist with industrial production processes. 
                It can help you manage production lines, monitor equipment, and optimize workflows.
                """
            )

if __name__ == "__main__":
    demo.launch()