swimmiing commited on
Commit
a9320d1
1 Parent(s): 334681f

Fix app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -12
app.py CHANGED
@@ -71,15 +71,14 @@ def greet(audio, image):
71
  return overlaid_image
72
 
73
 
74
- if __name__ == "__main__":
75
- description = 'hello world'
76
-
77
- demo = gr.Interface(
78
- fn=greet,
79
- inputs=[gr.Image(type='pil'), gr.Audio()],
80
- outputs=gr.Image(type="pil"),
81
- title='AudioToken',
82
- description=description,
83
- )
84
-
85
- demo.launch()
 
71
  return overlaid_image
72
 
73
 
74
+ description = 'hello world'
75
+
76
+ demo = gr.Interface(
77
+ fn=greet,
78
+ inputs=[gr.Image(type='pil'), gr.Audio()],
79
+ outputs=gr.Image(type="pil"),
80
+ title='AudioToken',
81
+ description=description,
82
+ )
83
+
84
+ demo.launch(debug=True)