gojiteji commited on
Commit
247c2f7
1 Parent(s): ba6be3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -64,11 +64,11 @@ def greet(sue):
64
  text3="mT5-3"+BALTHASAR(sue)
65
  return text1+" "+text2+" "+text3+"\n___\n\n"+("|可決|" if sum(votes[-3:])>0 else "| 否決 |")+"\n___"
66
 
67
- css="@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@800&display=swap'); .gradio-container {background-color: black} .gr-button {background-color: blue;color:black; weight:200%;font-family:'Shippori Mincho', serif;}"
68
- css+=".block{color:orange;} .gr-box {text-align: center;font-size: 125%;border-color:orange;background-color: #000000;weight:200%;font-family:'Shippori Mincho', serif;}:disabled {color: orange;opacity:1.0;}"
69
  with gr.Blocks(css=css) as demo:
70
- sue = gr.Textbox(label="NAGI System",placeholder="提訴する決議内容")
71
  greet_btn = gr.Button("提訴")
72
- output = gr.Textbox(label="決議")
73
  greet_btn.click(fn=greet, inputs=sue, outputs=output)
74
  demo.launch()
 
64
  text3="mT5-3"+BALTHASAR(sue)
65
  return text1+" "+text2+" "+text3+"\n___\n\n"+("|可決|" if sum(votes[-3:])>0 else "| 否決 |")+"\n___"
66
 
67
+ css="@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@800&display=swap'); .gradio-container {background-color: black} .gr-button {background-color: blue;color:black; weight:200%;font-family:'Shippori Mincho', serif;}"
68
+ css+=".block{color:orange;} ::placeholder {font-size:35%} .gr-box {text-align: center;font-size: 125%;border-color:orange;background-color: #000000;weight:200%;font-family:'Shippori Mincho', serif;}:disabled {color: orange;opacity:1.0;}"
69
  with gr.Blocks(css=css) as demo:
70
+ sue = gr.Textbox(label="NAGI System",placeholder="決議内容を入力")
71
  greet_btn = gr.Button("提訴")
72
+ output = gr.Textbox(label="決議",placeholder="本システムは事前学習モデルのpromptにより行われています.決議結果に対して当サービス開発者は一切の責任を負いません.")
73
  greet_btn.click(fn=greet, inputs=sue, outputs=output)
74
  demo.launch()