Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,19 +46,9 @@ def execute_jupyter_agent(sytem_prompt, user_input, max_new_tokens):
|
|
46 |
|
47 |
|
48 |
css = """
|
49 |
-
#component-0 {
|
50 |
-
height: 100vh;
|
51 |
-
overflow-y: auto;
|
52 |
-
padding: 20px;
|
53 |
-
}
|
54 |
-
|
55 |
.gradio-container {
|
56 |
height: 100vh !important;
|
57 |
}
|
58 |
-
|
59 |
-
.contain {
|
60 |
-
height: 100vh !important;
|
61 |
-
}
|
62 |
"""
|
63 |
|
64 |
|
@@ -67,7 +57,7 @@ with gr.Blocks(css=css) as demo:
|
|
67 |
gr.Markdown("# Jupyter Agent!")
|
68 |
|
69 |
with gr.Row():
|
70 |
-
user_input = gr.Textbox(label="User prompt",
|
71 |
|
72 |
generate_btn = gr.Button("Let's go!")
|
73 |
output = gr.HTML(label="Jupyter Notebook")
|
|
|
46 |
|
47 |
|
48 |
css = """
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
.gradio-container {
|
50 |
height: 100vh !important;
|
51 |
}
|
|
|
|
|
|
|
|
|
52 |
"""
|
53 |
|
54 |
|
|
|
57 |
gr.Markdown("# Jupyter Agent!")
|
58 |
|
59 |
with gr.Row():
|
60 |
+
user_input = gr.Textbox(label="User prompt", value="Solve the Lotka-Volterra equation and plot the results.", lines=3)
|
61 |
|
62 |
generate_btn = gr.Button("Let's go!")
|
63 |
output = gr.HTML(label="Jupyter Notebook")
|