Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	model descriptions and examples draft01
Browse files
    	
        app.py
    CHANGED
    
    | @@ -14,11 +14,11 @@ examples = [ | |
| 14 | 
             
            ]
         | 
| 15 |  | 
| 16 | 
             
            # Descriptions for each models
         | 
| 17 | 
            -
             | 
| 18 |  | 
| 19 | 
             
            # pass in Strings of model choice and input text for context
         | 
| 20 | 
             
            def genQuestion(model_choice, context):
         | 
| 21 | 
            -
                 | 
| 22 | 
             
                if model_choice=="interview-question-remake":
         | 
| 23 | 
             
                    model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-question-remake")
         | 
| 24 | 
             
                    tok = BartTokenizer.from_pretrained("hyechanjun/interview-question-remake")
         | 
|  | |
| 14 | 
             
            ]
         | 
| 15 |  | 
| 16 | 
             
            # Descriptions for each models
         | 
| 17 | 
            +
            descriptions = ""
         | 
| 18 |  | 
| 19 | 
             
            # pass in Strings of model choice and input text for context
         | 
| 20 | 
             
            def genQuestion(model_choice, context):
         | 
| 21 | 
            +
                
         | 
| 22 | 
             
                if model_choice=="interview-question-remake":
         | 
| 23 | 
             
                    model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-question-remake")
         | 
| 24 | 
             
                    tok = BartTokenizer.from_pretrained("hyechanjun/interview-question-remake")
         |