Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,8 @@ 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 |
with gr.Blocks(css=css) as demo:
|
69 |
sue = gr.Textbox(label="NAGI System",placeholder="提訴する決議内容")
|
70 |
greet_btn = gr.Button("提訴")
|
|
|
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("提訴")
|