dangtiendatdat commited on
Commit
e5785c7
·
verified ·
1 Parent(s): 34f0d94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,7 +2,7 @@ import os
2
  import argparse
3
  check="Hera"
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');
@@ -46,8 +46,8 @@ if __name__ == "__main__":
46
  chatkey = "a8108953dbmsh2baabfa3db731fdp14177bjsnfebbe465261d"
47
  skinkey = "b71d1f41camsh51cbf0a2df5facap1b9e25jsn2ce94a61f252"
48
 
49
- Main = gr.TabbedInterface([BrainTumor.create_brain_tumor_detect(), Pneumonia.create_pneumonia_tab(), Detectskindisease.create_skin_tab(skinkey), Chatbot.create_Chatbot_tab(chatkey), Polyb.create_polyb()],
50
- 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","Khoanh Vùng Polyb"],
51
  theme = "HaleyCH/HaleyCH_Theme",
52
  js = js,css=css)
53
  Main.launch( share=True, debug = True)
 
2
  import argparse
3
  check="Hera"
4
  import gradio as gr
5
+ from MeAI_Maincode import Chatbot,BrainTumor,Detectskindisease,Pneumonia,Polyb,skin
6
  js = """
7
  function createGradioAnimation() {
8
  var container = document.createElement('div');
 
46
  chatkey = "a8108953dbmsh2baabfa3db731fdp14177bjsnfebbe465261d"
47
  skinkey = "b71d1f41camsh51cbf0a2df5facap1b9e25jsn2ce94a61f252"
48
 
49
+ Main = gr.TabbedInterface([BrainTumor.create_brain_tumor_detect(), Pneumonia.create_pneumonia_tab(), Detectskindisease.create_skin_tab(skinkey), Chatbot.create_Chatbot_tab(chatkey), Polyb.create_polyb(), skin.create_skin_tab_new(skinkey) ],
50
+ 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","Khoanh Vùng Polyb", "Chuẩn Đoán Bệnh Ngoài Da Premium"],
51
  theme = "HaleyCH/HaleyCH_Theme",
52
  js = js,css=css)
53
  Main.launch( share=True, debug = True)