Tman212 commited on
Commit
86107e9
·
verified ·
1 Parent(s): de6f97c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -43,6 +43,11 @@ body, .gradio-container {
43
  text-align: center !important;
44
  margin-bottom: 0.25rem !important;
45
  }
 
 
 
 
 
46
  .gradio-container .component-text {
47
  color: #444444 !important;
48
  text-align: center !important;
@@ -90,6 +95,7 @@ body, .gradio-container {
90
 
91
  # ─── Blocks layout ───────────────────────────────────────────────────────────
92
  with gr.Blocks(css=custom_css) as demo:
 
93
  gr.Markdown("# PrediQT – Predicting question complexity")
94
  gr.Markdown(
95
  "Either upload an Excel file **or** paste questions below. "
@@ -106,7 +112,7 @@ with gr.Blocks(css=custom_css) as demo:
106
  type="filepath"
107
  )
108
  text_in = gr.Textbox(
109
- label="Or paste one question per line…",
110
  lines=6
111
  )
112
  score_btn = gr.Button("Score my data")
 
43
  text-align: center !important;
44
  margin-bottom: 0.25rem !important;
45
  }
46
+ #app-logo {
47
+ display: block !important;
48
+ margin: 0.5rem auto !important;
49
+ max-width: 180px !important;
50
+ }
51
  .gradio-container .component-text {
52
  color: #444444 !important;
53
  text-align: center !important;
 
95
 
96
  # ─── Blocks layout ───────────────────────────────────────────────────────────
97
  with gr.Blocks(css=custom_css) as demo:
98
+ logo = gr.Image("logo.png", elem_id="app-logo")
99
  gr.Markdown("# PrediQT – Predicting question complexity")
100
  gr.Markdown(
101
  "Either upload an Excel file **or** paste questions below. "
 
112
  type="filepath"
113
  )
114
  text_in = gr.Textbox(
115
+ label="Or paste one question per line… (Press enter after each response)",
116
  lines=6
117
  )
118
  score_btn = gr.Button("Score my data")