Tyler Lastovich commited on
Commit
057e5d6
·
1 Parent(s): 5665b85

Beginning mobile support for generation

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -221,6 +221,16 @@ custom_css="""
221
  height: 20px;
222
  width: auto;
223
  }
 
 
 
 
 
 
 
 
 
 
224
  """
225
  creative_slider = gr.inputs.Radio(["Low", "Medium", "High"], default="Low", label='Creativity')
226
  textbox = gr.inputs.Textbox(placeholder='An apartment with two bedrooms and one bathroom', lines="3",
 
221
  height: 20px;
222
  width: auto;
223
  }
224
+
225
+ @media (max-width: 1000px){
226
+ .panel:nth-child(1) {
227
+ margin-left: 0px;
228
+ margin-right: 0px;
229
+ }
230
+ .gradio_page[theme=default] .gradio_interface .output_image {
231
+ height: auto;
232
+ }
233
+ }
234
  """
235
  creative_slider = gr.inputs.Radio(["Low", "Medium", "High"], default="Low", label='Creativity')
236
  textbox = gr.inputs.Textbox(placeholder='An apartment with two bedrooms and one bathroom', lines="3",