Spaces:
Running
Running
Update MeAI_Maincode/Detectskindisease.py
Browse files
MeAI_Maincode/Detectskindisease.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
|
|
4 |
import io
|
5 |
import numpy as np
|
6 |
import os
|
7 |
-
key = "
|
8 |
trans_disease = {
|
9 |
"acne": "m峄",
|
10 |
"actinic_keratosis": "ch峄﹏g d脿y s峄玭g quang h贸a",
|
@@ -126,7 +126,7 @@ def detect_skin_disease(image,key):
|
|
126 |
except Exception as e:
|
127 |
return f"Error: {str(e)}"
|
128 |
|
129 |
-
def create_skin_tab(skinkey="
|
130 |
css = """
|
131 |
.textboxskin {
|
132 |
font-sxxxxize: 50px; !important;
|
|
|
4 |
import io
|
5 |
import numpy as np
|
6 |
import os
|
7 |
+
key = "b71d1f41camsh51cbf0a2df5facap1b9e25jsn2ce94a61f252"
|
8 |
trans_disease = {
|
9 |
"acne": "m峄",
|
10 |
"actinic_keratosis": "ch峄﹏g d脿y s峄玭g quang h贸a",
|
|
|
126 |
except Exception as e:
|
127 |
return f"Error: {str(e)}"
|
128 |
|
129 |
+
def create_skin_tab(skinkey="b71d1f41camsh51cbf0a2df5facap1b9e25jsn2ce94a61f252"):
|
130 |
css = """
|
131 |
.textboxskin {
|
132 |
font-sxxxxize: 50px; !important;
|