freddyaboulton HF staff commited on
Commit
5d45709
1 Parent(s): 8ab7f89

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. run.py +7 -0
run.py CHANGED
@@ -27,10 +27,17 @@ def bot(history):
27
  with gr.Blocks() as demo:
28
  chatbot = gr.Chatbot(
29
  [],
 
 
 
30
  )
31
 
32
  with gr.Row():
33
  txt = gr.Textbox(
 
 
 
 
34
  )
35
  btn = gr.UploadButton("📁", file_types=["image", "video", "audio"])
36
 
 
27
  with gr.Blocks() as demo:
28
  chatbot = gr.Chatbot(
29
  [],
30
+ elem_id="chatbot",
31
+ bubble_full_width=False,
32
+ avatar_images=(None, (os.path.join(os.path.dirname(__file__), "avatar.png"))),
33
  )
34
 
35
  with gr.Row():
36
  txt = gr.Textbox(
37
+ scale=4,
38
+ show_label=False,
39
+ placeholder="Enter text and press enter, or upload an image",
40
+ container=False,
41
  )
42
  btn = gr.UploadButton("📁", file_types=["image", "video", "audio"])
43