Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
-
import
|
|
|
2 |
import gradio as gr
|
3 |
import numpy as np
|
4 |
-
from io import BytesIO
|
5 |
import requests
|
6 |
-
import
|
|
|
7 |
|
8 |
f = modal.Cls.lookup("casa-interior-hf-v4", "DesignModel")
|
9 |
f_gc = modal.Cls.lookup("casa-interior-gc-v2", "GetProduct")
|
@@ -55,6 +56,7 @@ def casa_ai_run_tab3(dict=None):
|
|
55 |
with gr.Blocks() as casa:
|
56 |
title = "Casa-AI Demo"
|
57 |
description = "A Gradio interface to use CasaAI for virtual staging"
|
|
|
58 |
|
59 |
with gr.Tab("Reimagine"):
|
60 |
with gr.Row():
|
|
|
1 |
+
from utils_html import HTML_TEMPLATE
|
2 |
+
from io import BytesIO
|
3 |
import gradio as gr
|
4 |
import numpy as np
|
|
|
5 |
import requests
|
6 |
+
import modal
|
7 |
+
import PIL
|
8 |
|
9 |
f = modal.Cls.lookup("casa-interior-hf-v4", "DesignModel")
|
10 |
f_gc = modal.Cls.lookup("casa-interior-gc-v2", "GetProduct")
|
|
|
56 |
with gr.Blocks() as casa:
|
57 |
title = "Casa-AI Demo"
|
58 |
description = "A Gradio interface to use CasaAI for virtual staging"
|
59 |
+
gr.HTML(value=HTML_TEMPLATE, show_label=False)
|
60 |
|
61 |
with gr.Tab("Reimagine"):
|
62 |
with gr.Row():
|