File size: 769 Bytes
ce55ba8
0ab1f67
08469de
 
ae7f490
08469de
 
564fde3
08469de
 
564fde3
08469de
 
564fde3
08469de
 
564fde3
08469de
 
564fde3
08469de
 
 
 
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
import gradio as gr

# นำเข้าโมดูลแต่ละตัวจากโฟลเดอร์ modules
from modules import sentiment, financial_analyst, translator, personal_info_identifier, churn_analysis

with gr.Blocks(title="All-in-One AI App") as app:
    gr.Markdown("# 🤖 All-in-One AI Utilities App")

    with gr.Tab("🌍 Text Translator"):
        translator.demo.render()

    with gr.Tab("😊 Sentiment Analysis"):
        sentiment.demo.render()

    with gr.Tab("📊 Financial Analyst AI"):
        financial_analyst.demo.render()

    with gr.Tab("🔍 Personal Info Identifier"):
        personal_info_identifier.demo.render()

    with gr.Tab("📈 Customer Churn Prediction"):
        churn_analysis.app.render()

app.launch()