jer233 commited on
Commit
7b70c39
·
verified ·
1 Parent(s): 9b0768a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -1,7 +1,5 @@
1
- import gradio as gr
2
 
3
- def greet(name):
4
- return f"Hello, {name}!"
5
-
6
- interface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
- interface.launch()
 
1
+ from demo.demo import app
2
 
3
+ if __name__ == "__main__":
4
+ # Launch the Gradio interface
5
+ app.launch(show_api=False, debug=True, share=True)