Spaces:
Running
on
Zero
Running
on
Zero
da03
commited on
Commit
·
8e5e20e
1
Parent(s):
5c3cea5
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def predict_product(num1, num2):
|
|
| 29 |
|
| 30 |
demo = gr.Interface(
|
| 31 |
fn=predict_product,
|
| 32 |
-
inputs=[gr.Number(label='First Number (up to 9 digits)'), gr.Number(label='Second Number (up to 9 digits)')],
|
| 33 |
outputs=[
|
| 34 |
gr.Textbox(label='Raw Input to GPT-2'),
|
| 35 |
gr.Textbox(label='Raw Output from GPT-2'),
|
|
|
|
| 29 |
|
| 30 |
demo = gr.Interface(
|
| 31 |
fn=predict_product,
|
| 32 |
+
inputs=[gr.Number(label='First Number (up to 9 digits)', value=12345), gr.Number(label='Second Number (up to 9 digits), value=67890')],
|
| 33 |
outputs=[
|
| 34 |
gr.Textbox(label='Raw Input to GPT-2'),
|
| 35 |
gr.Textbox(label='Raw Output from GPT-2'),
|