Spaces:
Runtime error
Runtime error
add text box instead of code box for user input
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def gradio_interface():
|
|
60 |
gr.Markdown(description)
|
61 |
|
62 |
# Create input and output components
|
63 |
-
prompt_input = gr.TextBox(label="Enter your Coding Question", value=pythonexample,
|
64 |
code_output = gr.Code(label="🪨Granite Output", language='python', lines=10, interactive=True)
|
65 |
max_length_slider = gr.Slider(minimum=1, maximum=2000, value=1000, label="Max Token Length")
|
66 |
|
|
|
60 |
gr.Markdown(description)
|
61 |
|
62 |
# Create input and output components
|
63 |
+
prompt_input = gr.TextBox(label="Enter your Coding Question", value=pythonexample, lines=3)
|
64 |
code_output = gr.Code(label="🪨Granite Output", language='python', lines=10, interactive=True)
|
65 |
max_length_slider = gr.Slider(minimum=1, maximum=2000, value=1000, label="Max Token Length")
|
66 |
|