ysharma HF staff commited on
Commit
6ff9ebb
1 Parent(s): 5c41648

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -8,8 +8,12 @@ def alternatingly_agree(message, history):
8
  return "I don't think so"
9
 
10
  placeholder = """
11
- <img src="https://huggingface.co/spaces/ysharma/CodeGemma/resolve/main/gemma_lockup_vertical_full-color_rgb.png" style="width:40%">
12
  <b>CodeGemma-7B-IT</b>
13
  """
14
 
15
- gr.ChatInterface(alternatingly_agree, placeholder=placeholder).launch()
 
 
 
 
 
8
  return "I don't think so"
9
 
10
  placeholder = """
11
+ <img src="gemma_lockup_vertical_full-color_rgb.png" style="width:40%">
12
  <b>CodeGemma-7B-IT</b>
13
  """
14
 
15
+ chat = gr.Chatbot(placeholder=placeholder)
16
+ with gr.Blocks(fill_height=True) as demo:
17
+ gr.ChatInterface(alternatingly_agree, chatbot=chat, fill_height=True )
18
+
19
+ demo.launch()