Spaces:
Runtime error
Runtime error
Peter
commited on
Commit
·
df69f18
1
Parent(s):
3b66adc
fix api bug
Browse files
app.py
CHANGED
|
@@ -145,7 +145,7 @@ if __name__ == "__main__":
|
|
| 145 |
label="input text",
|
| 146 |
placeholder="Enter text to summarize, the text will be cleaned and truncated on Spaces. Narrative, academic (both papers and lecture transcription), and article text work well. May take a bit to generate depending on the input text :)",
|
| 147 |
),
|
| 148 |
-
gr.inputs.
|
| 149 |
choices=["base", "large"], label="model size", default="base"
|
| 150 |
),
|
| 151 |
gr.inputs.Slider(
|
|
|
|
| 145 |
label="input text",
|
| 146 |
placeholder="Enter text to summarize, the text will be cleaned and truncated on Spaces. Narrative, academic (both papers and lecture transcription), and article text work well. May take a bit to generate depending on the input text :)",
|
| 147 |
),
|
| 148 |
+
gr.inputs.Radio(
|
| 149 |
choices=["base", "large"], label="model size", default="base"
|
| 150 |
),
|
| 151 |
gr.inputs.Slider(
|