Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	
		acumplid
		
	commited on
		
		
					Commit 
							
							·
						
						a282012
	
1
								Parent(s):
							
							fa5f3b4
								
Adapted demo to new theme
Browse files
    	
        app.py
    CHANGED
    
    | @@ -1,5 +1,5 @@ | |
| 1 | 
             
            import gradio as gr
         | 
| 2 | 
            -
            from AinaTheme import  | 
| 3 | 
             
            from transformers import pipeline
         | 
| 4 | 
             
            import gradio as gr
         | 
| 5 | 
             
            from gradio.components import Textbox, Button, HighlightedText, Markdown
         | 
| @@ -35,7 +35,7 @@ def clear(): | |
| 35 | 
             
                    None,
         | 
| 36 | 
             
                )
         | 
| 37 |  | 
| 38 | 
            -
            with gr.Blocks( | 
| 39 | 
             
                with gr.Row():
         | 
| 40 | 
             
                    with gr.Column():
         | 
| 41 | 
             
                        gr.Markdown(
         | 
|  | |
| 1 | 
             
            import gradio as gr
         | 
| 2 | 
            +
            from AinaTheme import theme
         | 
| 3 | 
             
            from transformers import pipeline
         | 
| 4 | 
             
            import gradio as gr
         | 
| 5 | 
             
            from gradio.components import Textbox, Button, HighlightedText, Markdown
         | 
|  | |
| 35 | 
             
                    None,
         | 
| 36 | 
             
                )
         | 
| 37 |  | 
| 38 | 
            +
            with gr.Blocks(theme=theme) as demo:
         | 
| 39 | 
             
                with gr.Row():
         | 
| 40 | 
             
                    with gr.Column():
         | 
| 41 | 
             
                        gr.Markdown(
         | 
