Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,10 @@ def complete_with_gpt(text):
|
|
9 |
|
10 |
|
11 |
with gr.Blocks() as demo:
|
12 |
-
|
13 |
-
|
|
|
|
|
14 |
|
15 |
btn.click(complete_with_gpt, textbox, textbox)
|
16 |
|
|
|
9 |
|
10 |
|
11 |
with gr.Blocks() as demo:
|
12 |
+
with gr.Row():
|
13 |
+
textbox = gr.Textbox(placeholder="Type here and press enter...", lines=4)
|
14 |
+
with gr.Column():
|
15 |
+
btn = gr.Button("Generate")
|
16 |
|
17 |
btn.click(complete_with_gpt, textbox, textbox)
|
18 |
|