Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Commit 
							
							·
						
						774449d
	
1
								Parent(s):
							
							fdbccc4
								
Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -107,13 +107,14 @@ with gr.Blocks(css=css) as demo: | |
| 107 | 
             
                        celsci = gr.Textbox(label="c") #, lines=10, placeholder="Do you have any feedback on gradio?")
         | 
| 108 | 
             
                        submit = gr.Button(value=".")
         | 
| 109 | 
             
                        submit2 = gr.Button(value="Run Code")
         | 
| 110 | 
            -
                         | 
| 111 | 
            -
                        submit.click(run_actr)
         | 
| 112 | 
             
                        #if (celsci=="Celscis List"):
         | 
| 113 | 
             
                        #    submit.click(ccogsphere, [name, rate, celsci], [data, count])
         | 
| 114 | 
             
                        #else:
         | 
| 115 | 
             
                        #    submit.click(ccogsphere, [name, rate, celsci], [data, count])
         | 
| 116 | 
            -
                        
         | 
|  | |
| 117 | 
             
                        demo.load(load_data, None, [data, count])
         | 
| 118 | 
             
                        #@name.change(inputs=name, outputs=celsci,_js="window.location.reload()")
         | 
| 119 | 
             
                        #@rate.change(inputs=rate, outputs=name,_js="window.location.reload()")
         | 
|  | |
| 107 | 
             
                        celsci = gr.Textbox(label="c") #, lines=10, placeholder="Do you have any feedback on gradio?")
         | 
| 108 | 
             
                        submit = gr.Button(value=".")
         | 
| 109 | 
             
                        submit2 = gr.Button(value="Run Code")
         | 
| 110 | 
            +
                        score1=run_actr()
         | 
| 111 | 
            +
                        #submit.click(run_actr)
         | 
| 112 | 
             
                        #if (celsci=="Celscis List"):
         | 
| 113 | 
             
                        #    submit.click(ccogsphere, [name, rate, celsci], [data, count])
         | 
| 114 | 
             
                        #else:
         | 
| 115 | 
             
                        #    submit.click(ccogsphere, [name, rate, celsci], [data, count])
         | 
| 116 | 
            +
                        name=score1
         | 
| 117 | 
            +
                        submit.click(ccogsphere, [name, rate, celsci], [data, count])
         | 
| 118 | 
             
                        demo.load(load_data, None, [data, count])
         | 
| 119 | 
             
                        #@name.change(inputs=name, outputs=celsci,_js="window.location.reload()")
         | 
| 120 | 
             
                        #@rate.change(inputs=rate, outputs=name,_js="window.location.reload()")
         |