Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -14,5 +14,5 @@ def generate(prompt): | |
| 14 | 
             
            input_component = gr.Textbox(label = "Input a persona, e.g. photographer", value = "photographer")
         | 
| 15 | 
             
            output_component = gr.Textbox(label = "Prompt")
         | 
| 16 | 
             
            examples = [["photographer"], ["developer"]]
         | 
| 17 | 
            -
            description = "This app generates ChatGPT prompts, it's based on a BART model trained on [this dataset](https://huggingface.co/datasets/fka/awesome-chatgpt-prompts). Simply enter a persona that you want the prompt to be generated based on."
         | 
| 18 | 
            -
            gr.Interface(generate, inputs = input_component, outputs=output_component, examples=examples, title = "ChatGPT Prompt Generator", description=description).launch()
         | 
|  | |
| 14 | 
             
            input_component = gr.Textbox(label = "Input a persona, e.g. photographer", value = "photographer")
         | 
| 15 | 
             
            output_component = gr.Textbox(label = "Prompt")
         | 
| 16 | 
             
            examples = [["photographer"], ["developer"]]
         | 
| 17 | 
            +
            description = "This app generates ChatGPT prompts, it's based on a BART model trained on [this dataset](https://huggingface.co/datasets/fka/awesome-chatgpt-prompts). π Simply enter a persona that you want the prompt to be generated based on. π§π»π§π»βππ§π»βπ¨π§π»βπ¬π§π»βπ»π§πΌβπ«π§π½βπΎ"
         | 
| 18 | 
            +
            gr.Interface(generate, inputs = input_component, outputs=output_component, examples=examples, title = "π¨π»βπ€ ChatGPT Prompt Generator π¨π»βπ€", description=description).launch()
         | 
