Spaces:
Runtime error
Runtime error
Commit
·
44daca4
1
Parent(s):
20b2dc5
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,15 +31,15 @@ with gr.Blocks() as demo:
|
|
| 31 |
|
| 32 |
with gr.Tab("Claim Generator"):
|
| 33 |
with gr.Rows(scale=1, min_width=600):
|
| 34 |
-
text1 = gr.Textbox(label="prompt 1"
|
| 35 |
-
placeholder='Type in your idea
|
| 36 |
text2 = gr.Textbox(label="Output")
|
| 37 |
|
| 38 |
txt.submit(add_text, [chatbot, txt], [chatbot, txt]).then(
|
| 39 |
bot, chatbot, chatbot
|
| 40 |
)
|
| 41 |
|
| 42 |
-
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=
|
| 43 |
|
| 44 |
|
| 45 |
demo.launch()
|
|
|
|
| 31 |
|
| 32 |
with gr.Tab("Claim Generator"):
|
| 33 |
with gr.Rows(scale=1, min_width=600):
|
| 34 |
+
text1 = gr.Textbox(label="prompt 1",
|
| 35 |
+
placeholder='Type in your idea here!')
|
| 36 |
text2 = gr.Textbox(label="Output")
|
| 37 |
|
| 38 |
txt.submit(add_text, [chatbot, txt], [chatbot, txt]).then(
|
| 39 |
bot, chatbot, chatbot
|
| 40 |
)
|
| 41 |
|
| 42 |
+
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=500)
|
| 43 |
|
| 44 |
|
| 45 |
demo.launch()
|