Spaces:
Runtime error
Runtime error
updated text
Browse files
app.py
CHANGED
@@ -17,10 +17,11 @@ def run_query( prompt):
|
|
17 |
|
18 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
19 |
gr.Markdown("<h1><center>🔒Confidential code generation with BlindBox and Santacoder</center></h1>")
|
20 |
-
gr.Markdown("<
|
21 |
-
gr.Markdown("<
|
|
|
22 |
with gr.Column():
|
23 |
-
prompt = gr.Textbox(lines=2, placeholder="Enter function definition here e.g. def
|
24 |
with gr.Column():
|
25 |
trigger = gr.Button("Test query")
|
26 |
with gr.Column():
|
|
|
17 |
|
18 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
19 |
gr.Markdown("<h1><center>🔒Confidential code generation with BlindBox and Santacoder</center></h1>")
|
20 |
+
gr.Markdown("<p>This is the demo for our article on deploying code generation LLM models with BlindBox: <b>AI-assisted code generation with privacy guarantees: Securely deploy SantaCoder with BlindBox</b><br>You can view the article <a href='ai-assisted-code-generation-with-privacy-guarantees-securely-deploy-santacoder-with-blindbox'>here!</a> </p>")
|
21 |
+
gr.Markdown("<p>You can use this demo to send a function definition to BigCode's open-source Santacoder model and get back an auto-completed function.</p>")
|
22 |
+
gr.Markdown("<p>The model is deployed within a highly-isolated Trusted Execution Environment, meaning that we, as the service provider, have no access to the data sent to this model!</p>")
|
23 |
with gr.Column():
|
24 |
+
prompt = gr.Textbox(lines=2, placeholder="Enter function definition here e.g. def add_together(x,y):")
|
25 |
with gr.Column():
|
26 |
trigger = gr.Button("Test query")
|
27 |
with gr.Column():
|