TroglodyteDerivations
commited on
Commit
•
caf082f
1
Parent(s):
55f6edc
Updated with the removal of ‘lines’ inside gr.components.Number for lines 45 & 46
Browse files
app.py
CHANGED
@@ -42,8 +42,8 @@ def vector_addition(v1, v2):
|
|
42 |
return v3, plot
|
43 |
|
44 |
iface = gr.Interface(vector_addition,
|
45 |
-
[gr.components.Number(
|
46 |
-
gr.components.Number(
|
47 |
[gr.components.Textbox(label="Vector 3"),
|
48 |
gr.components.Image(label="Vector Addition Plot")])
|
49 |
|
|
|
42 |
return v3, plot
|
43 |
|
44 |
iface = gr.Interface(vector_addition,
|
45 |
+
[gr.components.Number(label="Vector 1"),
|
46 |
+
gr.components.Number(label="Vector 2")],
|
47 |
[gr.components.Textbox(label="Vector 3"),
|
48 |
gr.components.Image(label="Vector Addition Plot")])
|
49 |
|