ysharma HF staff commited on
Commit
12bca30
·
1 Parent(s): 8ace82b

update layout for prompt textbox

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -95,9 +95,9 @@ with gr.Blocks(css = """#label_mid {padding-top: 2px; padding-bottom: 2px;}
95
  search_query = gr.Textbox(placeholder="Example: A small cat sitting", label="", elem_id="search_query", value='')
96
  label_results = gr.HTML(value= "<p style='text-align: center; color: blue; font-weight: bold;'>Search results from PlaygroundAI</center></p>", elem_id="label_results")
97
  img_search = gr.HTML(label = 'Image search results from PlaygroundAI dataset', elem_id="img_search")
98
- with gr.Row():
99
- pai_prompt = gr.Textbox(label="Image prompt from PlaygroundAI dataset", elem_id="pai_prompt")
100
- #b1 = gr.Button("Retry").style(full_width=False)
101
 
102
  gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/Blip_PlaygroundAI?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a></center>
103
  </p></div>''')
 
95
  search_query = gr.Textbox(placeholder="Example: A small cat sitting", label="", elem_id="search_query", value='')
96
  label_results = gr.HTML(value= "<p style='text-align: center; color: blue; font-weight: bold;'>Search results from PlaygroundAI</center></p>", elem_id="label_results")
97
  img_search = gr.HTML(label = 'Image search results from PlaygroundAI dataset', elem_id="img_search")
98
+ #with gr.Row():
99
+ pai_prompt = gr.Textbox(label="Image prompt from PlaygroundAI dataset", elem_id="pai_prompt")
100
+ #b1 = gr.Button("Retry").style(full_width=False)
101
 
102
  gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/Blip_PlaygroundAI?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a></center>
103
  </p></div>''')