jer233 commited on
Commit
26bd7f4
·
verified ·
1 Parent(s): 3414908

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -10
app.py CHANGED
@@ -1,12 +1,5 @@
1
- import gradio as gr
2
 
3
- # Function to handle user input
4
- def greet(name):
5
- return f"Hello, {name}!"
6
-
7
- # Create a Gradio interface
8
- app = gr.Interface(fn=greet, inputs="text", outputs="text")
9
-
10
- # Launch the app
11
  if __name__ == "__main__":
12
- app.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)