Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -96,13 +96,11 @@ prompt_examples = [ | |
| 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 | 
            -
                <br>Sailor models are designed to understand and generate text across diverse linguistic landscapes of these SEA regions:
         | 
| 100 | 
            -
                <br>🇮🇩Indonesian, 🇹🇭Thai, 🇻🇳Vietnamese, 🇲🇾Malay, and 🇱🇦Lao.
         | 
| 101 | 
             
            </div>
         | 
| 102 | 
             
            """
         | 
| 103 |  | 
| 104 |  | 
| 105 | 
            -
            chatbot = gr.Chatbot(label='OpenCoder', placeholder= | 
| 106 | 
             
            with gr.Blocks(theme=gr.themes.Soft(), fill_height=True) as demo:
         | 
| 107 |  | 
| 108 | 
             
                gr.ChatInterface(predict, chatbot=chatbot, fill_height=True, examples=prompt_examples, css=css)
         | 
|  | |
| 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 | 
             
            """
         | 
| 101 |  | 
| 102 |  | 
| 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)
         | 
