Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	
		liangfeng
		
	commited on
		
		
					Commit 
							
							·
						
						e894a60
	
1
								Parent(s):
							
							0c488f6
								
init app
Browse files- .idea/vcs.xml +6 -0
- app.py +7 -0
    	
        .idea/vcs.xml
    ADDED
    
    | @@ -0,0 +1,6 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            <?xml version="1.0" encoding="UTF-8"?>
         | 
| 2 | 
            +
            <project version="4">
         | 
| 3 | 
            +
              <component name="VcsDirectoryMappings">
         | 
| 4 | 
            +
                <mapping directory="$PROJECT_DIR$" vcs="Git" />
         | 
| 5 | 
            +
              </component>
         | 
| 6 | 
            +
            </project>
         | 
    	
        app.py
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            import gradio as gr
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            def greet(name):
         | 
| 4 | 
            +
                return "Hello " + name + "!!"
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            iface = gr.Interface(fn=greet, inputs="text", outputs="text")
         | 
| 7 | 
            +
            iface.launch()
         | 
