Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Commit 
							
							·
						
						4ad2927
	
1
								Parent(s):
							
							8665431
								
Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -114,7 +114,7 @@ with gr.Blocks(theme='Taithrah/Minimal') as demo: 
     | 
|
| 114 | 
         
             
                    saved_input = gr.State()
         
     | 
| 115 | 
         | 
| 116 | 
         
             
                    with gr.Accordion(label='Advanced Options', open=False):
         
     | 
| 117 | 
         
            -
                        system_prompt = gr.Textbox(label='System prompt' 
     | 
| 118 | 
         
             
                        max_new_tokens = gr.Slider(label='Max New Tokens', minimum=1, maximum=MAX_MAX_NEW_TOKENS, step=1, value=DEFAULT_MAX_NEW_TOKENS)
         
     | 
| 119 | 
         
             
                        temperature = gr.Slider(label='Temperatur', minimum=0.1, maximum=4.0, step=0.1, value=0.1)
         
     | 
| 120 | 
         
             
                        top_p = gr.Slider(label='Top-P (nucleus sampling)', minimum=0.05, maximum=1.0, step=0.05, value=0.9)
         
     | 
| 
         | 
|
| 114 | 
         
             
                    saved_input = gr.State()
         
     | 
| 115 | 
         | 
| 116 | 
         
             
                    with gr.Accordion(label='Advanced Options', open=False):
         
     | 
| 117 | 
         
            +
                        system_prompt = gr.Textbox(label='System prompt', value=DEFAULT_SYSTEM_PROMPT, lines=5, interactive=False)
         
     | 
| 118 | 
         
             
                        max_new_tokens = gr.Slider(label='Max New Tokens', minimum=1, maximum=MAX_MAX_NEW_TOKENS, step=1, value=DEFAULT_MAX_NEW_TOKENS)
         
     | 
| 119 | 
         
             
                        temperature = gr.Slider(label='Temperatur', minimum=0.1, maximum=4.0, step=0.1, value=0.1)
         
     | 
| 120 | 
         
             
                        top_p = gr.Slider(label='Top-P (nucleus sampling)', minimum=0.05, maximum=1.0, step=0.05, value=0.9)
         
     |