Spaces:
Sleeping
Sleeping
alessandro trinca tornidor
commited on
Commit
•
fe47840
1
Parent(s):
1cf84e9
refactor: remove unused 'examples' variable
Browse files
app.py
CHANGED
@@ -30,8 +30,8 @@ def get_gradio_app():
|
|
30 |
btn = gr.Button(value="Divide et Impera")
|
31 |
text_input = gr.Textbox(lines=1, placeholder="10", label="write an integer to divide 100; 0 will raise ZeroDivisionError")
|
32 |
text_output = gr.Textbox(lines=1, placeholder=None, label="Text Output")
|
33 |
-
|
34 |
-
examples=[
|
35 |
inputs=[text_input],
|
36 |
)
|
37 |
btn.click(
|
|
|
30 |
btn = gr.Button(value="Divide et Impera")
|
31 |
text_input = gr.Textbox(lines=1, placeholder="10", label="write an integer to divide 100; 0 will raise ZeroDivisionError")
|
32 |
text_output = gr.Textbox(lines=1, placeholder=None, label="Text Output")
|
33 |
+
gr.Examples(
|
34 |
+
examples=[19, 1, -7, 0],
|
35 |
inputs=[text_input],
|
36 |
)
|
37 |
btn.click(
|