dangtiendatdat commited on
Commit
461f597
·
verified ·
1 Parent(s): e7a0a75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,7 +2,7 @@ import argparse
2
  check="Hera"
3
 
4
  import gradio as gr
5
- from MeAI_Maincode import ChatBot,BrainTumor,Detectskindisease,Pneumonia, Polyb
6
  js = """
7
  function createGradioAnimation() {
8
  var container = document.createElement('div');
@@ -52,8 +52,8 @@ if __name__ == "__main__":
52
  chatkey = args.chatkey
53
  skinkey = args.skinkey
54
 
55
- Main = gr.TabbedInterface([BrainTumor.create_brain_tumor_detect(), Pneumonia.create_pneumonia_tab(), Detectskindisease.create_skin_tab(skinkey), Polyb.create_polyb(), ChatBot.create_Chatbot_tab(chatkey)],
56
- tab_names = ["Chẩn Đoán Khối U Não", "Chẩn Đoán Tình Trạng Phổi", "Chẩn Đoán Bệnh Ngoài Da","Phát hiện khối u đại tràng", "Tư Vấn Sức Khỏe Thông Minh"],
57
  theme = "HaleyCH/HaleyCH_Theme",
58
  js = js,css=css)
59
  Main.launch( share=True, debug = True)
 
2
  check="Hera"
3
 
4
  import gradio as gr
5
+ from MeAI_Maincode import ChatBot,BrainTumor,Detectskindisease,Pneumonia
6
  js = """
7
  function createGradioAnimation() {
8
  var container = document.createElement('div');
 
52
  chatkey = args.chatkey
53
  skinkey = args.skinkey
54
 
55
+ Main = gr.TabbedInterface([BrainTumor.create_brain_tumor_detect(), Pneumonia.create_pneumonia_tab(), Detectskindisease.create_skin_tab(skinkey), ChatBot.create_Chatbot_tab(chatkey)],
56
+ tab_names = ["Chẩn Đoán Khối U Não", "Chẩn Đoán Tình Trạng Phổi", "Chẩn Đoán Bệnh Ngoài Da", "Tư Vấn Sức Khỏe Thông Minh"],
57
  theme = "HaleyCH/HaleyCH_Theme",
58
  js = js,css=css)
59
  Main.launch( share=True, debug = True)