Spaces:
Runtime error
Runtime error
add warning
Browse files
app.py
CHANGED
@@ -21,9 +21,10 @@ def run_query( server, prompt):
|
|
21 |
with gr.Blocks(css=".gradio-container {background-color: #20233fff}") as demo:
|
22 |
gr.Markdown("<h1 style='text-align: center; color: white;'>π
SantaCoder with <span style='color: #f0ba2d;'>BlindBox:</span> Private Code Generation </h1>")
|
23 |
|
24 |
-
gr.Markdown("<p style='text-align:
|
25 |
-
gr.Markdown("<p style='text-align:
|
26 |
-
gr.Markdown("<p style='text-align:
|
|
|
27 |
_, colum_2, _ = gr.Column(scale=1), gr.Column(scale=6), gr.Column(scale=1)
|
28 |
with colum_2:
|
29 |
prompt = gr.Code(lines=3, language="python", label="Input code", value="def hello_name(name):")
|
|
|
21 |
with gr.Blocks(css=".gradio-container {background-color: #20233fff}") as demo:
|
22 |
gr.Markdown("<h1 style='text-align: center; color: white;'>π
SantaCoder with <span style='color: #f0ba2d;'>BlindBox:</span> Private Code Generation </h1>")
|
23 |
|
24 |
+
gr.Markdown("<p style='text-align: left; color: white;'>This is our demo for our <a style='color: #f0ba2d;', href='https://blog-mithril-security.ghost.io/ai-assisted-code-generation-with-privacy-guarantees-securely-deploy-santacoder-with-blindbox'>article</a> on deploying code generation LLM models with BlindBox. The user input is <a style='color: #f0ba2d;', href='https://blindbox.mithrilsecurity.io/en/latest/docs/getting-started/confidential_computing/'>end-to-end protected.</a></p>")
|
25 |
+
gr.Markdown("<p style='text-align: left; color: white;'>You can see how we deployed the model in the integration section of our <a style='color: #f0ba2d;', href='https://blindbox.mithrilsecurity.io/en/latest/docs/how-to-guides/santacoder/'>documentation!</a></p>")
|
26 |
+
gr.Markdown("<p style='text-align: left; color: white;'>β οΈ BlindBox is still under development. Do not test with production data!</p>")
|
27 |
+
|
28 |
_, colum_2, _ = gr.Column(scale=1), gr.Column(scale=6), gr.Column(scale=1)
|
29 |
with colum_2:
|
30 |
prompt = gr.Code(lines=3, language="python", label="Input code", value="def hello_name(name):")
|