Spaces:
Running
on
Zero
Running
on
Zero
da03
commited on
Commit
·
b78d734
1
Parent(s):
371ab67
app.py
CHANGED
@@ -144,8 +144,8 @@ color_map = {"correct": "green", "wrong": "red"}
|
|
144 |
demo = gr.Interface(
|
145 |
fn=predict_product,
|
146 |
inputs=[
|
147 |
-
gr.Textbox(label='First Number (up to
|
148 |
-
gr.Textbox(label='Second Number (up to
|
149 |
],
|
150 |
outputs=[
|
151 |
gr.HighlightedText(label='Ground Truth Product', combine_adjacent=False, show_legend=False, color_map=color_map),
|
|
|
144 |
demo = gr.Interface(
|
145 |
fn=predict_product,
|
146 |
inputs=[
|
147 |
+
gr.Textbox(label='First Number (up to 20 digits)', value='123456789'),
|
148 |
+
gr.Textbox(label='Second Number (up to 20 digits)', value='987654321'),
|
149 |
],
|
150 |
outputs=[
|
151 |
gr.HighlightedText(label='Ground Truth Product', combine_adjacent=False, show_legend=False, color_map=color_map),
|