Spaces:
Runtime error
Runtime error
AdityaBolt commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ inputs = [
|
|
| 27 |
gr.Textbox(lines=2, placeholder="Name", label="Name"),
|
| 28 |
gr.Textbox(lines=2, placeholder="Occasion", label="Occasion"),
|
| 29 |
gr.Dropdown(choices=["friendly", "formal", "funny"], label="Tone"),
|
| 30 |
-
gr.Slider(minimum=1, maximum=10,
|
| 31 |
]
|
| 32 |
|
| 33 |
iface = gr.Interface(fn=write_letter, inputs=inputs, outputs="textbox",
|
|
|
|
| 27 |
gr.Textbox(lines=2, placeholder="Name", label="Name"),
|
| 28 |
gr.Textbox(lines=2, placeholder="Occasion", label="Occasion"),
|
| 29 |
gr.Dropdown(choices=["friendly", "formal", "funny"], label="Tone"),
|
| 30 |
+
gr.Slider(minimum=1, maximum=10, value=3, label="Number of Emojis") # Corrected here
|
| 31 |
]
|
| 32 |
|
| 33 |
iface = gr.Interface(fn=write_letter, inputs=inputs, outputs="textbox",
|