Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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),
|
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",
|
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)
|