Spaces:
Running
Running
雷娃
commited on
Commit
·
c89c1f6
1
Parent(s):
cb6cb3b
modify the layout of input and output
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ with gr.Blocks() as demo:
|
|
55 |
max_tokens_slider = gr.Slider(minimum=100, maximum=2048, step=50, label="Generated length")
|
56 |
|
57 |
# output_box = gr.Textbox(lines=10, label="Response")
|
58 |
-
output_box = gr.Markdown(label="Response")
|
59 |
input_box = gr.Textbox(lines=8, label="Input you question")
|
60 |
|
61 |
examples = gr.Examples(
|
|
|
55 |
max_tokens_slider = gr.Slider(minimum=100, maximum=2048, step=50, label="Generated length")
|
56 |
|
57 |
# output_box = gr.Textbox(lines=10, label="Response")
|
58 |
+
output_box = gr.Markdown(lines=8, label="Response")
|
59 |
input_box = gr.Textbox(lines=8, label="Input you question")
|
60 |
|
61 |
examples = gr.Examples(
|