Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -252,7 +252,7 @@ def start_items():
|
|
| 252 |
thick = debias(thick, "Pale_Skin", df, pinverse, device)
|
| 253 |
thick = debias(thick, "Heavy_Makeup", df, pinverse, device)
|
| 254 |
|
| 255 |
-
start_items()
|
| 256 |
|
| 257 |
class CustomImageDataset(Dataset):
|
| 258 |
def __init__(self, images, transform=None):
|
|
@@ -516,5 +516,5 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 516 |
|
| 517 |
gr.Markdown(help_text1)
|
| 518 |
gr.Markdown(help_text2)
|
| 519 |
-
|
| 520 |
demo.queue().launch()
|
|
|
|
| 252 |
thick = debias(thick, "Pale_Skin", df, pinverse, device)
|
| 253 |
thick = debias(thick, "Heavy_Makeup", df, pinverse, device)
|
| 254 |
|
| 255 |
+
#start_items()
|
| 256 |
|
| 257 |
class CustomImageDataset(Dataset):
|
| 258 |
def __init__(self, images, transform=None):
|
|
|
|
| 516 |
|
| 517 |
gr.Markdown(help_text1)
|
| 518 |
gr.Markdown(help_text2)
|
| 519 |
+
demo.load(fn=start_items)
|
| 520 |
demo.queue().launch()
|