fudii0921 commited on
Commit
92b4268
·
verified ·
1 Parent(s): cf3bf6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -114,12 +114,7 @@ def evaluate_responses(state, email, programming, debugging, problem, problem_so
114
 
115
 
116
  # Gradio Blocksの構築
117
- with gr.Blocks(css="footer {visibility: hidden;} #header {display: flex; justify-content: space-between; align-items: center; font-size: 24px; font-weight: bold;} #logo {width: 50px; height: 50px;}", theme=gr.themes.Glass(), description=r"""<center><img src='https://user-images.githubusercontent.com/14334509/189166076-94bb2cac-4f4e-40fb-a69f-66709e3d98f5.png' alt='CodeFormer logo'></center>
118
- <br>
119
- <b>Official Gradio demo</b> for <a href='https://github.com/sczhou/CodeFormer' target='_blank'><b>Towards Robust Blind Face Restoration with Codebook Lookup Transformer (NeurIPS 2022)</b></a><br>
120
- 🔥 CodeFormer is a robust face restoration algorithm for old photos or AI-generated faces.<br>
121
- 🤗 Try CodeFormer for improved stable-diffusion generation!<br>
122
- """,title="エンジニア・スキル評価") as inquery:
123
  state = gr.State({
124
  "final_email": "",
125
  "final_comment": "",
@@ -127,7 +122,7 @@ with gr.Blocks(css="footer {visibility: hidden;} #header {display: flex; justify
127
  })
128
 
129
  #gr.Markdown('<div id="header"><span>🧑‍🏫👩‍🏫 エンジニア・スキル評価</span><img id="logo" src="https://huggingface.co/datasets/fudii0921/repository/resolve/main/RYHLOGO.png" width="64" height="64" alt="Logo"></div>')
130
- gr.Markdown('<div id="header"><span>🧑‍🏫👩‍🏫 エンジニア・スキル評価アプリ</span><img id="logo" src="RYHLOGO.png" width="64" height="64" alt="Logo"></div>')
131
  gr.Markdown("エンジニア・スキルを簡易評価するアプリです!")
132
 
133
  with gr.Tab("エンジニア・スキル評価質問フォーム"):
 
114
 
115
 
116
  # Gradio Blocksの構築
117
+ with gr.Blocks(css="footer {visibility: hidden;} #header {display: flex; justify-content: space-between; align-items: center; font-size: 24px; font-weight: bold;} #logo {width: 50px; height: 50px;}", theme=gr.themes.Glass(), title="エンジニア・スキル評価") as inquery:
 
 
 
 
 
118
  state = gr.State({
119
  "final_email": "",
120
  "final_comment": "",
 
122
  })
123
 
124
  #gr.Markdown('<div id="header"><span>🧑‍🏫👩‍🏫 エンジニア・スキル評価</span><img id="logo" src="https://huggingface.co/datasets/fudii0921/repository/resolve/main/RYHLOGO.png" width="64" height="64" alt="Logo"></div>')
125
+ gr.HTML('<div id="header"><span>🧑‍🏫👩‍🏫 エンジニア・スキル評価</span><img id="logo" src="https://huggingface.co/datasets/fudii0921/repository/resolve/main/RYHLOGO.png" width="64" height="64" alt="Logo"></div>')
126
  gr.Markdown("エンジニア・スキルを簡易評価するアプリです!")
127
 
128
  with gr.Tab("エンジニア・スキル評価質問フォーム"):