Update app.py
Browse files
app.py
CHANGED
@@ -147,12 +147,12 @@ with gr.Blocks(theme=theme) as demo:
|
|
147 |
with gr.Column():
|
148 |
gr.Markdown(topics) # Show the topics on the left side
|
149 |
gr.Image("Image.png", show_label = False, show_share_button = False, show_download_button = False, height=500, width=500 )
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
|
157 |
|
158 |
# Launch the Gradio app to allow user interaction
|
|
|
147 |
with gr.Column():
|
148 |
gr.Markdown(topics) # Show the topics on the left side
|
149 |
gr.Image("Image.png", show_label = False, show_share_button = False, show_download_button = False, height=500, width=500 )
|
150 |
+
with gr.Row():
|
151 |
+
with gr.Column():
|
152 |
+
question = gr.Textbox(label="ׁ ׁ ꥓ ݄ ׁ 𖦹🎀 ׅ 𓈒Your Question⋆𐙚₊˚⊹♡", placeholder="༘⋆🌷🫧What do you Want to ask About?💭₊˚ෆ")
|
153 |
+
answer = gr.Textbox(label="˚ ༘˚Plai Responseೀ⋆。", placeholder="𝜗𝜚꥓ ⊹ 𓈒˚₊ִֶָPlai will Respond Here...", interactive=False, lines=10)
|
154 |
+
submit_button = gr.Button("˚₊‧꒰აSubmit໒꒱ ‧₊˚")
|
155 |
+
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
156 |
|
157 |
|
158 |
# Launch the Gradio app to allow user interaction
|