Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,29 @@ import numpy as np
|
|
| 3 |
import plotly.graph_objects as go
|
| 4 |
from plotly.subplots import make_subplots
|
| 5 |
from scipy.integrate import quad
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# ============================================================
|
| 8 |
# RFT MASTER PARAMETERS (UNTOUCHED)
|
|
|
|
| 3 |
import plotly.graph_objects as go
|
| 4 |
from plotly.subplots import make_subplots
|
| 5 |
from scipy.integrate import quad
|
| 6 |
+
gr.CSS
|
| 7 |
+
("""
|
| 8 |
+
#root, .gradio-container {
|
| 9 |
+
max-width: 100% !important;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
.gradio-container .wrap {
|
| 13 |
+
flex-wrap: nowrap !important;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
.gradio-container .gr-block {
|
| 17 |
+
width: 100% !important;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
.gradio-container .gr-plot {
|
| 21 |
+
width: 100% !important;
|
| 22 |
+
height: auto !important;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.gradio-container .gr-panel {
|
| 26 |
+
width: 100% !important;
|
| 27 |
+
}
|
| 28 |
+
""")
|
| 29 |
|
| 30 |
# ============================================================
|
| 31 |
# RFT MASTER PARAMETERS (UNTOUCHED)
|