dogutcu commited on
Commit
ebb980a
·
verified ·
1 Parent(s): 62030cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -115,6 +115,7 @@ topics = """
115
 
116
  # Setup the Gradio Blocks interface with custom layout components
117
  with gr.Blocks(theme='gradio/seafoam') as demo:
 
118
  gr.Markdown(welcome_message) # Display the formatted welcome message
119
  with gr.Row():
120
  with gr.Column():
@@ -122,7 +123,7 @@ with gr.Blocks(theme='gradio/seafoam') as demo:
122
  with gr.Row():
123
  with gr.Column():
124
  question = gr.Textbox(label="Your question", placeholder="What would you like to know?")
125
- answer = gr.Textbox(label="ChessBot Response", placeholder="ChessBot will respond here...", interactive=False, lines=10)
126
  submit_button = gr.Button("Submit")
127
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
128
 
 
115
 
116
  # Setup the Gradio Blocks interface with custom layout components
117
  with gr.Blocks(theme='gradio/seafoam') as demo:
118
+ gr.Image("composting.jpg", show_label = False, show_share_button = False, show_download_button = False)
119
  gr.Markdown(welcome_message) # Display the formatted welcome message
120
  with gr.Row():
121
  with gr.Column():
 
123
  with gr.Row():
124
  with gr.Column():
125
  question = gr.Textbox(label="Your question", placeholder="What would you like to know?")
126
+ answer = gr.Textbox(label="CompBot Response", placeholder="CompBot will respond here...", interactive=False, lines=10)
127
  submit_button = gr.Button("Submit")
128
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
129