Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,6 +61,7 @@ demo = gr.Interface(
|
|
| 61 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 62 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
|
| 63 |
],
|
|
|
|
| 64 |
examples=examples,
|
| 65 |
title="Python Code Explainer"
|
| 66 |
)
|
|
|
|
| 61 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 62 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
|
| 63 |
],
|
| 64 |
+
outputs=gr.Textbox(label="Explanation Here", lines=10), # Added the outputs argument
|
| 65 |
examples=examples,
|
| 66 |
title="Python Code Explainer"
|
| 67 |
)
|