Commit
·
46251b7
1
Parent(s):
654ee06
Change description with highlights
Browse files
app.py
CHANGED
@@ -3,7 +3,10 @@ import gradio as gr
|
|
3 |
from backend.nonreflecting_ray_tracing import nonreflecting_plotter
|
4 |
from backend.reflecting_ray_tracing import reflecting_plotter
|
5 |
|
6 |
-
description1 =
|
|
|
|
|
|
|
7 |
iface1 = gr.Interface(
|
8 |
fn = nonreflecting_plotter,
|
9 |
inputs=[
|
@@ -18,7 +21,9 @@ iface1 = gr.Interface(
|
|
18 |
description=description1,
|
19 |
)
|
20 |
|
21 |
-
description2 = "A source of light placed at the origin
|
|
|
|
|
22 |
iface2 = gr.Interface(
|
23 |
fn = reflecting_plotter,
|
24 |
inputs=[
|
|
|
3 |
from backend.nonreflecting_ray_tracing import nonreflecting_plotter
|
4 |
from backend.reflecting_ray_tracing import reflecting_plotter
|
5 |
|
6 |
+
description1 = (
|
7 |
+
"A source of **light** placed at the **origin**. A spherical **non-Reflecting** surface placed in front it."
|
8 |
+
"**Change ANY Parameter to get it working.**"
|
9 |
+
)
|
10 |
iface1 = gr.Interface(
|
11 |
fn = nonreflecting_plotter,
|
12 |
inputs=[
|
|
|
21 |
description=description1,
|
22 |
)
|
23 |
|
24 |
+
description2 = ("A source of **light** placed at the **origin**. A spherical **Reflecting surface** placed in front it. This interface simulates the rays interaction with the Reflecting surface."
|
25 |
+
"**Change ANY Parameter to get it working.**"
|
26 |
+
)
|
27 |
iface2 = gr.Interface(
|
28 |
fn = reflecting_plotter,
|
29 |
inputs=[
|