Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ os.system("pip install git+https://github.com/luca-medeiros/lang-segment-anythin
|
|
6 |
import argparse
|
7 |
check="Hera"
|
8 |
import gradio as gr
|
9 |
-
from MeAI_Maincode import Chatbot,BrainTumor,Detectskindisease,Pneumonia
|
10 |
js = """
|
11 |
function createGradioAnimation() {
|
12 |
var container = document.createElement('div');
|
@@ -50,8 +50,8 @@ if __name__ == "__main__":
|
|
50 |
chatkey = "a8108953dbmsh2baabfa3db731fdp14177bjsnfebbe465261d"
|
51 |
skinkey = "b71d1f41camsh51cbf0a2df5facap1b9e25jsn2ce94a61f252"
|
52 |
|
53 |
-
Main = gr.TabbedInterface([BrainTumor.create_brain_tumor_detect(), Pneumonia.create_pneumonia_tab(), Detectskindisease.create_skin_tab(skinkey), Chatbot.create_Chatbot_tab(chatkey)],
|
54 |
-
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"],
|
55 |
theme = "HaleyCH/HaleyCH_Theme",
|
56 |
js = js,css=css)
|
57 |
Main.launch( share=True, debug = True)
|
|
|
6 |
import argparse
|
7 |
check="Hera"
|
8 |
import gradio as gr
|
9 |
+
from MeAI_Maincode import Chatbot,BrainTumor,Detectskindisease,Pneumonia,Polyb
|
10 |
js = """
|
11 |
function createGradioAnimation() {
|
12 |
var container = document.createElement('div');
|
|
|
50 |
chatkey = "a8108953dbmsh2baabfa3db731fdp14177bjsnfebbe465261d"
|
51 |
skinkey = "b71d1f41camsh51cbf0a2df5facap1b9e25jsn2ce94a61f252"
|
52 |
|
53 |
+
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()],
|
54 |
+
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"],
|
55 |
theme = "HaleyCH/HaleyCH_Theme",
|
56 |
js = js,css=css)
|
57 |
Main.launch( share=True, debug = True)
|