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