Tyler Lastovich commited on
Commit
73c177a
·
1 Parent(s): 791ebb0

adding image directory

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -121,7 +121,7 @@ def prompt_to_layout(user_prompt, intensity, fpath=None):
121
 
122
  _, im = draw_polygons(geom, colors, fpath=fpath)
123
 
124
- html = '<img class="labels" src="labels.png" />'
125
 
126
  return html, im
127
 
@@ -213,6 +213,10 @@ custom_css="""
213
  .panel:nth-child(2) .gradio_page[theme=default] .gradio_interface .panel_header {
214
  display: none;
215
  }
 
 
 
 
216
  """
217
  creative_slider = gr.inputs.Radio(["Low", "Medium", "High"], default="Low", label='Creativity')
218
  textbox = gr.inputs.Textbox(placeholder='An apartment with two bedrooms and one bathroom', lines="3",
 
121
 
122
  _, im = draw_polygons(geom, colors, fpath=fpath)
123
 
124
+ html = '<img class="labels" src="images/labels.png" />'
125
 
126
  return html, im
127
 
 
213
  .panel:nth-child(2) .gradio_page[theme=default] .gradio_interface .panel_header {
214
  display: none;
215
  }
216
+ .labels {
217
+ height: 20px;
218
+ width: auto;
219
+ }
220
  """
221
  creative_slider = gr.inputs.Radio(["Low", "Medium", "High"], default="Low", label='Creativity')
222
  textbox = gr.inputs.Textbox(placeholder='An apartment with two bedrooms and one bathroom', lines="3",