Spaces:
Runtime error
Runtime error
EliottZemour
commited on
Commit
·
e426ea3
1
Parent(s):
42fb932
test
Browse files
app.py
CHANGED
|
@@ -104,19 +104,19 @@ with demo:
|
|
| 104 |
" click one of the examples to load them."
|
| 105 |
" DocQuery is MIT-licensed and available on [Github](https://github.com/impira/docquery)."
|
| 106 |
)
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
|
| 121 |
button.click(
|
| 122 |
fn=create_html_card,
|
|
|
|
| 104 |
" click one of the examples to load them."
|
| 105 |
" DocQuery is MIT-licensed and available on [Github](https://github.com/impira/docquery)."
|
| 106 |
)
|
| 107 |
+
|
| 108 |
+
with gr.Column():
|
| 109 |
+
with gr.Row():
|
| 110 |
+
text = gr.Textbox(
|
| 111 |
+
show_label=False,
|
| 112 |
+
placeholder="URL",
|
| 113 |
+
lines=1,
|
| 114 |
+
max_lines=1,
|
| 115 |
+
elem_id="url-textbox",
|
| 116 |
+
)
|
| 117 |
+
button = gr.Button("Generate", variant="primary")
|
| 118 |
+
with gr.Row():
|
| 119 |
+
card = gr.HTML(elem_id="htel")
|
| 120 |
|
| 121 |
button.click(
|
| 122 |
fn=create_html_card,
|