Update app.py
Browse files
app.py
CHANGED
|
@@ -99,6 +99,8 @@ DEFAULT_QUESTION = (
|
|
| 99 |
f"and in what countries did they grow up, study, and live?"
|
| 100 |
)
|
| 101 |
|
|
|
|
|
|
|
| 102 |
CSS_FULL_WIDTH = """
|
| 103 |
<style>
|
| 104 |
html,
|
|
@@ -138,7 +140,6 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 138 |
with gr.Row():
|
| 139 |
question = gr.Textbox(
|
| 140 |
label="Question *",
|
| 141 |
-
placeholder=DEFAULT_QUESTION,
|
| 142 |
value=DEFAULT_QUESTION,
|
| 143 |
interactive=True,
|
| 144 |
lines=2,
|
|
@@ -147,6 +148,7 @@ with gr.Blocks(elem_classes=["full-width-app"]) as gaia:
|
|
| 147 |
with gr.Row():
|
| 148 |
ground_truth = gr.Textbox(
|
| 149 |
label="Ground Truth",
|
|
|
|
| 150 |
interactive=True,
|
| 151 |
lines=1,
|
| 152 |
max_lines=2
|
|
|
|
| 99 |
f"and in what countries did they grow up, study, and live?"
|
| 100 |
)
|
| 101 |
|
| 102 |
+
DEFAULT_GROUND_TRUTH = "Bernd Straehle, Germany, Switzerland, USA"
|
| 103 |
+
|
| 104 |
CSS_FULL_WIDTH = """
|
| 105 |
<style>
|
| 106 |
html,
|
|
|
|
| 140 |
with gr.Row():
|
| 141 |
question = gr.Textbox(
|
| 142 |
label="Question *",
|
|
|
|
| 143 |
value=DEFAULT_QUESTION,
|
| 144 |
interactive=True,
|
| 145 |
lines=2,
|
|
|
|
| 148 |
with gr.Row():
|
| 149 |
ground_truth = gr.Textbox(
|
| 150 |
label="Ground Truth",
|
| 151 |
+
value=DEFAULT_GROUND_TRUTH,
|
| 152 |
interactive=True,
|
| 153 |
lines=1,
|
| 154 |
max_lines=2
|