Martijn Bartelds
		
	commited on
		
		
					Commit 
							
							·
						
						ea16f84
	
1
								Parent(s):
							
							93183ff
								
Add app.py
Browse files
    	
        app.py
    ADDED
    
    | @@ -0,0 +1,13 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            # Code adapted from: https://gradio.app/demos/
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            import gradio as gr
         | 
| 4 | 
            +
            import os
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            demo = gr.Interface.load(
         | 
| 7 | 
            +
                "huggingface/bartelds/gos-gpu6-cp1_adp0_192m_no_test_1e-5_cp-12000",
         | 
| 8 | 
            +
                title="Speech-to-text for Gronings",
         | 
| 9 | 
            +
                inputs="mic",
         | 
| 10 | 
            +
                description="Upload an audio file with Gronings speech to obtain its transcription."
         | 
| 11 | 
            +
            )
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            demo.launch()
         |