Spaces:
Sleeping
Sleeping
construct the location of the components
Browse files
app.py
CHANGED
@@ -50,7 +50,8 @@ with gr.Blocks() as iface:
|
|
50 |
input_text = gr.Textbox(label="テキスト")
|
51 |
input_url = gr.Textbox(label="URL")
|
52 |
chat_btn = gr.Button("Chat")
|
53 |
-
|
|
|
54 |
|
55 |
# Event handler
|
56 |
chat_btn.click(fn=chat, inputs=[input_text, input_url], outputs=output_text)
|
|
|
50 |
input_text = gr.Textbox(label="テキスト")
|
51 |
input_url = gr.Textbox(label="URL")
|
52 |
chat_btn = gr.Button("Chat")
|
53 |
+
with gr.Column():
|
54 |
+
output_text = gr.Textbox(label="回答")
|
55 |
|
56 |
# Event handler
|
57 |
chat_btn.click(fn=chat, inputs=[input_text, input_url], outputs=output_text)
|