Spaces:
Runtime error
Runtime error
๐
Browse filesSigned-off-by: peter szemraj <peterszemraj@gmail.com>
app.py
CHANGED
|
@@ -220,7 +220,7 @@ if __name__ == "__main__":
|
|
| 220 |
"Enter text below in the text area. The text will be summarized [using the selected parameters](https://huggingface.co/blog/how-to-generate). Optionally load an example below or upload a file. (`.txt` or `.pdf`)"
|
| 221 |
)
|
| 222 |
with gr.Row(variant='compact'):
|
| 223 |
-
with gr.Column(scale=0.5):
|
| 224 |
|
| 225 |
model_size = gr.Radio(
|
| 226 |
choices=["base", "large"], label="Model Variant", value="base"
|
|
@@ -230,7 +230,7 @@ if __name__ == "__main__":
|
|
| 230 |
label="Beam Search: # of Beams",
|
| 231 |
value=2,
|
| 232 |
)
|
| 233 |
-
with gr.Column():
|
| 234 |
example_name = gr.Dropdown(
|
| 235 |
_examples,
|
| 236 |
label="Examples",
|
|
|
|
| 220 |
"Enter text below in the text area. The text will be summarized [using the selected parameters](https://huggingface.co/blog/how-to-generate). Optionally load an example below or upload a file. (`.txt` or `.pdf`)"
|
| 221 |
)
|
| 222 |
with gr.Row(variant='compact'):
|
| 223 |
+
with gr.Column(scale=0.5, variant='compact'):
|
| 224 |
|
| 225 |
model_size = gr.Radio(
|
| 226 |
choices=["base", "large"], label="Model Variant", value="base"
|
|
|
|
| 230 |
label="Beam Search: # of Beams",
|
| 231 |
value=2,
|
| 232 |
)
|
| 233 |
+
with gr.Column(variant='compact'):
|
| 234 |
example_name = gr.Dropdown(
|
| 235 |
_examples,
|
| 236 |
label="Examples",
|