mgetz commited on
Commit
fa39afe
·
verified ·
1 Parent(s): 5265fb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -112,6 +112,10 @@ topics = """
112
  - Prominent Facial Features
113
  """
114
 
 
 
 
 
115
  # Setup the Gradio Blocks interface with custom layout components
116
  with gr.Blocks(theme='Taithrah/Minimal') as demo:
117
  gr.Image("craiyon_140344_Generic_Handsome_celebrity_man_face.png", show_label = False, show_share_button = False, show_download_button = False)
@@ -122,6 +126,7 @@ with gr.Blocks(theme='Taithrah/Minimal') as demo:
122
  with gr.Row():
123
  with gr.Column():
124
  question = gr.Textbox(label="Celebrity Attributes", placeholder="Describe the celebrity you want")
 
125
  answer = gr.Textbox(label="CelebrityFinder Response", placeholder="CelebrityFinder will respond here", interactive=False, lines=10)
126
  submit_button = gr.Button("Submit")
127
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
 
112
  - Prominent Facial Features
113
  """
114
 
115
+ placeholder = """
116
+ ### Hey
117
+ """
118
+
119
  # Setup the Gradio Blocks interface with custom layout components
120
  with gr.Blocks(theme='Taithrah/Minimal') as demo:
121
  gr.Image("craiyon_140344_Generic_Handsome_celebrity_man_face.png", show_label = False, show_share_button = False, show_download_button = False)
 
126
  with gr.Row():
127
  with gr.Column():
128
  question = gr.Textbox(label="Celebrity Attributes", placeholder="Describe the celebrity you want")
129
+ gr.Markdown(placeholder)
130
  answer = gr.Textbox(label="CelebrityFinder Response", placeholder="CelebrityFinder will respond here", interactive=False, lines=10)
131
  submit_button = gr.Button("Submit")
132
  submit_button.click(fn=query_model, inputs=question, outputs=answer)