zxcgqq commited on
Commit
2a9d56f
·
1 Parent(s): 97f6371

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -2,20 +2,11 @@ import gradio as gr
2
 
3
 
4
  with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
5
- gr.Markdown("<h3><center>Visual ChatGPT</center></h3>")
6
- gr.Markdown(
7
- """This is a demo to the work [Visual ChatGPT: Talking, Drawing and Editing with Visual Foundation Models](https://github.com/microsoft/visual-chatgpt).<br>
8
- This space connects ChatGPT and a series of Visual Foundation Models to enable sending and receiving images during chatting.<br>
9
- """
10
- )
11
 
12
 
13
- chatbot = gr.Chatbot(elem_id="chatbot", label="Visual ChatGPT")
14
- state = gr.State([])
15
-
16
  with gr.Row(visible=False) as input_raws:
17
  with gr.Column(scale=0.7):
18
- txt = gr.Textbox(show_label=False, placeholder="Enter text and press enter, or upload an image").style(container=False)
19
  with gr.Column(scale=0.10, min_width=0):
20
  run = gr.Button("🏃‍♂️Run")
21
  with gr.Column(scale=0.10, min_width=0):
 
2
 
3
 
4
  with gr.Blocks(css="#chatbot {overflow:auto; height:500px;}") as demo:
 
 
 
 
 
 
5
 
6
 
 
 
 
7
  with gr.Row(visible=False) as input_raws:
8
  with gr.Column(scale=0.7):
9
+ txt = gr.Textbox()
10
  with gr.Column(scale=0.10, min_width=0):
11
  run = gr.Button("🏃‍♂️Run")
12
  with gr.Column(scale=0.10, min_width=0):