Spaces:
Sleeping
Sleeping
Commit
·
5514bd2
1
Parent(s):
b16ddaf
Update app.py
Browse files
app.py
CHANGED
@@ -107,5 +107,20 @@ def greet(name):
|
|
107 |
|
108 |
|
109 |
|
110 |
-
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
iface.launch()
|
|
|
107 |
|
108 |
|
109 |
|
110 |
+
#iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
111 |
+
|
112 |
+
iface = gr.Interface(
|
113 |
+
greet,
|
114 |
+
[
|
115 |
+
gr.inputs.Textbox(
|
116 |
+
lines=3, default="<h1>Grid Fin</h1><table><tr><td><p>Cost Risk</p></td><td><p>None</p></td></tr><tr><td><p>Schedule Risk</p></td><td><p>None</p></td></tr></table><h1>Propulsion</h1><table><tr><td><p>Cost Risk</p></td><td><p>Yes, material overrun</p></td></tr><tr><td><p>Schedule Risk</p></td><td><p>None</p></td></tr></table><h1>Nose Cone</h1><table><tr><td><p>Cost Risk</p></td><td><p>None</p></td></tr><tr><td><p>Schedule Risk</p></td><td><p>None</p></td></tr></table>"
|
117 |
+
),
|
118 |
+
gr.inputs.Textbox(lines=3, default="What is the propulsion risk?"),
|
119 |
+
],
|
120 |
+
gr.outputs."text",
|
121 |
+
)
|
122 |
+
iface.launch()
|
123 |
+
|
124 |
+
|
125 |
+
|
126 |
iface.launch()
|