Spaces:
Runtime error
Runtime error
LOUIS SANNA commited on
Commit ·
dedb34c
1
Parent(s): ec0786f
feat(style): simplify style
Browse files
app.py
CHANGED
|
@@ -52,14 +52,11 @@ iface = gr.Interface(
|
|
| 52 |
fn=chat_pdf,
|
| 53 |
inputs=[gr.inputs.Textbox(label="Query")],
|
| 54 |
outputs=create_outputs(max_sources),
|
| 55 |
-
layout="vertical",
|
| 56 |
examples=[
|
| 57 |
["Give 2 species of fulgoroidea"],
|
| 58 |
["What colors are found among fulgoroidea?"],
|
| 59 |
["Why are fulgoroidea so cute?"]
|
| 60 |
-
# Add more example queries if desired
|
| 61 |
],
|
| 62 |
-
css=".answer, .source_documents {width: 45%; float: left; margin-right: 20px;}"
|
| 63 |
)
|
| 64 |
|
| 65 |
iface.launch(debug=True)
|
|
|
|
| 52 |
fn=chat_pdf,
|
| 53 |
inputs=[gr.inputs.Textbox(label="Query")],
|
| 54 |
outputs=create_outputs(max_sources),
|
|
|
|
| 55 |
examples=[
|
| 56 |
["Give 2 species of fulgoroidea"],
|
| 57 |
["What colors are found among fulgoroidea?"],
|
| 58 |
["Why are fulgoroidea so cute?"]
|
|
|
|
| 59 |
],
|
|
|
|
| 60 |
)
|
| 61 |
|
| 62 |
iface.launch(debug=True)
|