EmicoBinsfinder commited on
Commit
20b2dc5
1 Parent(s): 8e7188b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -29,14 +29,17 @@ with gr.Blocks() as demo:
29
  placeholder="Enter text and press enter, or upload an image",
30
  ).style(container=False)
31
 
32
- with gr.Tab("ClaimedChat"):
33
- with gr.Column(scale=1, min_width=600):
34
- text1 = gr.Textbox(label="prompt 1")
35
- text2 = gr.Textbox(label="prompt 2")
 
36
 
37
  txt.submit(add_text, [chatbot, txt], [chatbot, txt]).then(
38
  bot, chatbot, chatbot
39
  )
40
 
 
 
41
 
42
  demo.launch()
 
29
  placeholder="Enter text and press enter, or upload an image",
30
  ).style(container=False)
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 hear')
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=750)
43
+
44
 
45
  demo.launch()