Spaces:
Sleeping
Sleeping
Isabel Gwara
commited on
Commit
·
ea07529
1
Parent(s):
acb1c19
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,7 +132,11 @@ for colname in data.columns:
|
|
| 132 |
else:
|
| 133 |
# add numerical input
|
| 134 |
inputls.append(gr.inputs.Number(label=colname))
|
| 135 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
# generate gradio interface
|
| 137 |
interface = gr.Interface(general_predictor, inputs=inputls, outputs="text", allow_flagging='never')
|
| 138 |
|
|
|
|
| 132 |
else:
|
| 133 |
# add numerical input
|
| 134 |
inputls.append(gr.inputs.Number(label=colname))
|
| 135 |
+
|
| 136 |
+
with open('info.md') as f:
|
| 137 |
+
gr.Markdown(f.readline())
|
| 138 |
+
gr.Markdown('Take the quiz to get a personalized recommendation using AI.')
|
| 139 |
+
|
| 140 |
# generate gradio interface
|
| 141 |
interface = gr.Interface(general_predictor, inputs=inputls, outputs="text", allow_flagging='never')
|
| 142 |
|