IS361Group4 commited on
Commit
0565a78
Β·
verified Β·
1 Parent(s): 9630d65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -11
app.py CHANGED
@@ -6,19 +6,20 @@ from modules import sentiment, financial_analyst, translator, personal_info_iden
6
  with gr.Blocks(title="All-in-One AI App") as app:
7
  gr.Markdown("# πŸ€– All-in-One AI Utilities App")
8
 
9
- with gr.Tab("🌍 Text Translator"):
10
- translator.demo.render()
 
11
 
12
- with gr.Tab("😊 Sentiment Analysis"):
13
- sentiment.demo.render()
14
 
15
- with gr.Tab("πŸ“Š Financial Analyst AI"):
16
- financial_analyst.demo.render()
17
 
18
- with gr.Tab("πŸ” Personal Info Identifier"):
19
- personal_info_identifier.demo.render()
20
 
21
- with gr.Tab("πŸ“ˆ Customer Churn Prediction"):
22
- churn_analysis.demo.render()
23
 
24
- app.launch(share=True)
 
6
  with gr.Blocks(title="All-in-One AI App") as app:
7
  gr.Markdown("# πŸ€– All-in-One AI Utilities App")
8
 
9
+ with gr.Tabs(): # ΰΉƒΰΈŠΰΉ‰ gr.Tabs() ΰΈ„ΰΈ£ΰΈ­ΰΈš gr.Tab
10
+ with gr.Tab("🌍 Text Translator"):
11
+ translator.demo.launch()
12
 
13
+ with gr.Tab("😊 Sentiment Analysis"):
14
+ sentiment.demo.launch()
15
 
16
+ # with gr.Tab("πŸ“Š Financial Analyst AI"):
17
+ # financial_analyst.demo.launch()
18
 
19
+ with gr.Tab("πŸ” Personal Info Identifier"):
20
+ personal_info_identifier.demo.launch()
21
 
22
+ with gr.Tab("πŸ“ˆ Customer Churn Prediction"):
23
+ churn_analysis.demo.launch()
24
 
25
+ app.launch()