Tonic commited on
Commit
e8c2317
1 Parent(s): e27ec1a

add text box instead of code box for user input

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, language='python', lines=10)
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