Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -61,11 +61,41 @@ def respond( | |
| 61 | 
             
                    raise gr.Error(f"发生错误: {str(e)}")
         | 
| 62 |  | 
| 63 | 
             
            example_prompts = [
         | 
| 64 | 
            -
                [ | 
| 65 | 
            -
             | 
| 66 | 
            -
             | 
| 67 | 
            -
             | 
| 68 | 
            -
             | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 69 | 
             
            ]
         | 
| 70 | 
             
            latex_delimiters = [
         | 
| 71 | 
             
                {"left": "$$", "right": "$$", "display": True},
         | 
|  | |
| 61 | 
             
                    raise gr.Error(f"发生错误: {str(e)}")
         | 
| 62 |  | 
| 63 | 
             
            example_prompts = [
         | 
| 64 | 
            +
                [
         | 
| 65 | 
            +
                    "Write a short papragraph where the 1st letter of each sentence spells out the word 'CODE'. The message should appear natural and not obviously hide this pattern.",
         | 
| 66 | 
            +
                    "你是一个电影推荐助手",
         | 
| 67 | 
            +
                    256,   # 生成约 200 字
         | 
| 68 | 
            +
                    0.8,   # 中等创意
         | 
| 69 | 
            +
                    0.85
         | 
| 70 | 
            +
                ],  
         | 
| 71 | 
            +
                [
         | 
| 72 | 
            +
                    "Compose an engaging travel blog post about a recent trip to Hawaii, highlighting cultural experiences and must-see attractions.",
         | 
| 73 | 
            +
                    "你是一个AI教授",
         | 
| 74 | 
            +
                    128,   # 简短定义
         | 
| 75 | 
            +
                    0.3,   # 高确定性
         | 
| 76 | 
            +
                    0.9
         | 
| 77 | 
            +
                ],
         | 
| 78 | 
            +
                [
         | 
| 79 | 
            +
                    "Why has online learning been able to spread rapidly in recent years?",
         | 
| 80 | 
            +
                    "你是一个数学老师",
         | 
| 81 | 
            +
                    64,    
         | 
| 82 | 
            +
                    0.1,   
         | 
| 83 | 
            +
                    0.95
         | 
| 84 | 
            +
                ],
         | 
| 85 | 
            +
                [
         | 
| 86 | 
            +
                    "How many 'e' in Deeplearning?",
         | 
| 87 | 
            +
                    "你是一个科幻作家",
         | 
| 88 | 
            +
                    512,   
         | 
| 89 | 
            +
                    1.2,   
         | 
| 90 | 
            +
                    0.75
         | 
| 91 | 
            +
                ],
         | 
| 92 | 
            +
                [
         | 
| 93 | 
            +
                    "Write a 3-line poem",
         | 
| 94 | 
            +
                    "你是一个历史学者",
         | 
| 95 | 
            +
                    384,   
         | 
| 96 | 
            +
                    0.6,  
         | 
| 97 | 
            +
                    0.88
         | 
| 98 | 
            +
                ]
         | 
| 99 | 
             
            ]
         | 
| 100 | 
             
            latex_delimiters = [
         | 
| 101 | 
             
                {"left": "$$", "right": "$$", "display": True},
         | 
