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