Zenithwang commited on
Commit
162c074
1 Parent(s): 5b7a702

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -89,12 +89,12 @@ full-height {
89
 
90
  prompt_examples = [
91
  'Write a quick sort algorithm in python.',
92
- 'Write a colorful greedy snake game using pygame.',
93
  'How to use numpy?'
94
  ]
95
 
96
  placeholder = """
97
- <div style="opacity: 0.5;">
98
  <img src="https://raw.githubusercontent.com/sail-sg/sailor-llm/main/misc/banner.jpg" style="width:30%;">
99
  </div>
100
  """
@@ -103,6 +103,6 @@ placeholder = """
103
  chatbot = gr.Chatbot(label='OpenCoder', placeholder=None)
104
  with gr.Blocks(theme=gr.themes.Soft(), fill_height=True) as demo:
105
 
106
- gr.ChatInterface(predict, chatbot=chatbot, fill_height=True, examples=prompt_examples, css=css)
107
 
108
  demo.launch() # Launching the web interface.
 
89
 
90
  prompt_examples = [
91
  'Write a quick sort algorithm in python.',
92
+ 'Write a greedy snake game using pygame.',
93
  'How to use numpy?'
94
  ]
95
 
96
  placeholder = """
97
+ <div>
98
  <img src="https://raw.githubusercontent.com/sail-sg/sailor-llm/main/misc/banner.jpg" style="width:30%;">
99
  </div>
100
  """
 
103
  chatbot = gr.Chatbot(label='OpenCoder', placeholder=None)
104
  with gr.Blocks(theme=gr.themes.Soft(), fill_height=True) as demo:
105
 
106
+ gr.ChatInterface(predict, chatbot=chatbot, fill_height=True, examples=prompt_examples, css=None)
107
 
108
  demo.launch() # Launching the web interface.