Spaces:
Running
on
Zero
Running
on
Zero
da03
commited on
Commit
·
df028fe
1
Parent(s):
0b7cd32
app.py
CHANGED
|
@@ -132,8 +132,8 @@ color_map = {"correct": "green", "wrong": "red"}
|
|
| 132 |
demo = gr.Interface(
|
| 133 |
fn=predict_product,
|
| 134 |
inputs=[
|
| 135 |
-
gr.Textbox(label='First Number (up to
|
| 136 |
-
gr.Textbox(label='Second Number (up to
|
| 137 |
],
|
| 138 |
outputs=[
|
| 139 |
gr.HighlightedText(label='Ground Truth Product', combine_adjacent=False, show_legend=False, color_map=color_map),
|
|
|
|
| 132 |
demo = gr.Interface(
|
| 133 |
fn=predict_product,
|
| 134 |
inputs=[
|
| 135 |
+
gr.Textbox(label='First Number (up to 15 digits)', value='123456789'),
|
| 136 |
+
gr.Textbox(label='Second Number (up to 15 digits)', value='987654321'),
|
| 137 |
],
|
| 138 |
outputs=[
|
| 139 |
gr.HighlightedText(label='Ground Truth Product', combine_adjacent=False, show_legend=False, color_map=color_map),
|