Rawiwan1912 commited on
Commit
c68f7bf
·
verified ·
1 Parent(s): a344b84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -1,13 +1,11 @@
1
  import gradio as gr
2
  from modules.churn_analysis import predict
 
3
 
4
- # Existing Tabs with Gradio Blocks
5
  with gr.Blocks() as app:
6
-
7
- # Add the Text Translator Tab
8
  with gr.Tab("Text Translator"):
9
- # Code for your text translator here (from previous code)
10
- pass
11
 
12
  # Add the Churn Analysis Tab
13
  with gr.Tab("Churn Analysis"):
 
1
  import gradio as gr
2
  from modules.churn_analysis import predict
3
+ from modules.translator import text_translator_ui
4
 
 
5
  with gr.Blocks() as app:
 
 
6
  with gr.Tab("Text Translator"):
7
+ text_translator_ui()
8
+
9
 
10
  # Add the Churn Analysis Tab
11
  with gr.Tab("Churn Analysis"):