Update app.py
Browse files
app.py
CHANGED
|
@@ -3596,7 +3596,7 @@ with gr.Blocks(
|
|
| 3596 |
info="Enter a 3-letter currency code (e.g. USD, KES, NGN)",
|
| 3597 |
elem_classes=["currency-input"]
|
| 3598 |
)
|
| 3599 |
-
|
| 3600 |
custom_amount = gr.Number(
|
| 3601 |
label="Amount (USD)",
|
| 3602 |
visible=True,
|
|
@@ -3606,7 +3606,7 @@ with gr.Blocks(
|
|
| 3606 |
step=0.1,
|
| 3607 |
info="Amount in USD (will be converted)",
|
| 3608 |
elem_classes=["amount-input"],
|
| 3609 |
-
precision=
|
| 3610 |
)
|
| 3611 |
|
| 3612 |
with gr.Row():
|
|
|
|
| 3596 |
info="Enter a 3-letter currency code (e.g. USD, KES, NGN)",
|
| 3597 |
elem_classes=["currency-input"]
|
| 3598 |
)
|
| 3599 |
+
with gr.Row():
|
| 3600 |
custom_amount = gr.Number(
|
| 3601 |
label="Amount (USD)",
|
| 3602 |
visible=True,
|
|
|
|
| 3606 |
step=0.1,
|
| 3607 |
info="Amount in USD (will be converted)",
|
| 3608 |
elem_classes=["amount-input"],
|
| 3609 |
+
precision=2
|
| 3610 |
)
|
| 3611 |
|
| 3612 |
with gr.Row():
|