mardor commited on
Commit
8c9053e
·
verified ·
1 Parent(s): ae8275a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -136,18 +136,18 @@ theme = gr.themes.Monochrome(
136
  )
137
 
138
  # Setup the Gradio Blocks interface with custom layout components
139
- with gr.Blocks(theme=theme) as demo:
140
- gr.image(display_image(scale=1, min_width=200))
141
- gr.Markdown(welcome_message) # Display the formatted welcome message
142
- with gr.Row():
143
- with gr.Column():
144
- gr.Markdown(topics) # Show the topics on the left side
145
- with gr.Row():
146
- with gr.Column():
147
- question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
148
- answer = gr.Textbox(label="GloBot Response", placeholder="GloBot will respond here...", interactive=False, lines=10)
149
- submit_button = gr.Button("Submit")
150
- submit_button.click(fn=query_model, inputs=question, outputs=answer)
151
 
152
 
153
  # Launch the Gradio app to allow user interaction
 
136
  )
137
 
138
  # Setup the Gradio Blocks interface with custom layout components
139
+ # with gr.Blocks(theme=theme) as demo:
140
+ # gr.image(display_image(scale=1, min_width=200))
141
+ # gr.Markdown(welcome_message) # Display the formatted welcome message
142
+ # with gr.Row():
143
+ # with gr.Column():
144
+ # gr.Markdown(topics) # Show the topics on the left side
145
+ # with gr.Row():
146
+ # with gr.Column():
147
+ # question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
148
+ # answer = gr.Textbox(label="GloBot Response", placeholder="GloBot will respond here...", interactive=False, lines=10)
149
+ # submit_button = gr.Button("Submit")
150
+ # submit_button.click(fn=query_model, inputs=question, outputs=answer)
151
 
152
 
153
  # Launch the Gradio app to allow user interaction