Isabel Gwara commited on
Commit
0342253
·
1 Parent(s): ea07529

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -133,9 +133,12 @@ for colname in data.columns:
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')
 
133
  # add numerical input
134
  inputls.append(gr.inputs.Number(label=colname))
135
 
136
+ title_block = gr.Blocks()
137
+
138
  with open('info.md') as f:
139
+ with title_block:
140
+ gr.Markdown(f.readline())
141
+ gr.Markdown('Take the quiz to get a personalized recommendation using AI.')
142
 
143
  # generate gradio interface
144
  interface = gr.Interface(general_predictor, inputs=inputls, outputs="text", allow_flagging='never')