Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,5 @@
|
|
1 |
-
|
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 |
-
|
|
|
|
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)
|