Sijuade commited on
Commit
81d8245
1 Parent(s): 637d576

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,9 +1,10 @@
1
- import modal
 
2
  import gradio as gr
3
  import numpy as np
4
- from io import BytesIO
5
  import requests
6
- import PIL
 
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():