Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,13 +23,13 @@ def search_wikipedia(query):
|
|
23 |
def gradio_app():
|
24 |
with gr.Blocks(theme=theme) as demo:
|
25 |
with gr.Row(equal_height=True):
|
26 |
-
o_source = Textbox(
|
27 |
lines=10,
|
28 |
label="Source",
|
29 |
interactive=False,
|
30 |
show_copy_button=True
|
31 |
)
|
32 |
-
output = Textbox(
|
33 |
lines=10,
|
34 |
label="Content",
|
35 |
interactive=False,
|
@@ -37,13 +37,13 @@ def gradio_app():
|
|
37 |
)
|
38 |
|
39 |
with gr.Row(equal_height=True):
|
40 |
-
input_ = Textbox(
|
41 |
label="Input",
|
42 |
placeholder="Buscar...",
|
43 |
)
|
44 |
|
45 |
with gr.Row(equal_height=True):
|
46 |
-
submit_btn = Button("Submit", variant="primary")
|
47 |
|
48 |
|
49 |
submit_btn.click(
|
|
|
23 |
def gradio_app():
|
24 |
with gr.Blocks(theme=theme) as demo:
|
25 |
with gr.Row(equal_height=True):
|
26 |
+
o_source = gr.Textbox(
|
27 |
lines=10,
|
28 |
label="Source",
|
29 |
interactive=False,
|
30 |
show_copy_button=True
|
31 |
)
|
32 |
+
output = gr.Textbox(
|
33 |
lines=10,
|
34 |
label="Content",
|
35 |
interactive=False,
|
|
|
37 |
)
|
38 |
|
39 |
with gr.Row(equal_height=True):
|
40 |
+
input_ = gr.Textbox(
|
41 |
label="Input",
|
42 |
placeholder="Buscar...",
|
43 |
)
|
44 |
|
45 |
with gr.Row(equal_height=True):
|
46 |
+
submit_btn = gr.Button("Submit", variant="primary")
|
47 |
|
48 |
|
49 |
submit_btn.click(
|