Commit 
							
							·
						
						8f45af1
	
1
								Parent(s):
							
							90e8912
								
Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -15,7 +15,7 @@ from share_btn import (community_icon_html, loading_icon_html, share_btn_css, | |
| 15 |  | 
| 16 | 
             
            HF_TOKEN = os.environ.get("HF_TOKEN", None)
         | 
| 17 | 
             
            API_TOKEN = os.environ.get("API_TOKEN", None)
         | 
| 18 | 
            -
            DIALOGUES_DATASET = " | 
| 19 |  | 
| 20 | 
             
            model2endpoint = {
         | 
| 21 | 
             
                "starchat-beta": "https://api-inference.huggingface.co/models/HuggingFaceH4/starchat-beta",
         | 
| @@ -261,7 +261,7 @@ with gr.Blocks(analytics_enabled=False, css="style.css") as demo: | |
| 261 |  | 
| 262 | 
             
                with gr.Row():
         | 
| 263 | 
             
                    with gr.Column():
         | 
| 264 | 
            -
                        gr.Image("StarChat_logo.png", elem_id="banner-image", show_label=False,  | 
| 265 | 
             
                with gr.Row():
         | 
| 266 | 
             
                    with gr.Column():
         | 
| 267 | 
             
                        gr.DuplicateButton(value='Duplicate Space for private use',
         | 
|  | |
| 15 |  | 
| 16 | 
             
            HF_TOKEN = os.environ.get("HF_TOKEN", None)
         | 
| 17 | 
             
            API_TOKEN = os.environ.get("API_TOKEN", None)
         | 
| 18 | 
            +
            DIALOGUES_DATASET = "openskyml/dialogue-dataset-of-starchat"
         | 
| 19 |  | 
| 20 | 
             
            model2endpoint = {
         | 
| 21 | 
             
                "starchat-beta": "https://api-inference.huggingface.co/models/HuggingFaceH4/starchat-beta",
         | 
|  | |
| 261 |  | 
| 262 | 
             
                with gr.Row():
         | 
| 263 | 
             
                    with gr.Column():
         | 
| 264 | 
            +
                        gr.Image("StarChat_logo.png", elem_id="banner-image", show_label=False, show_share_button=False, show_download_button=False)
         | 
| 265 | 
             
                with gr.Row():
         | 
| 266 | 
             
                    with gr.Column():
         | 
| 267 | 
             
                        gr.DuplicateButton(value='Duplicate Space for private use',
         |