Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,6 +32,12 @@ def run_websocket():
|
|
32 |
websocket_thread = threading.Thread(target=run_websocket)
|
33 |
websocket_thread.start()
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
websocket_thread = threading.Thread(target=run_websocket)
|
33 |
websocket_thread.start()
|
34 |
|
35 |
+
def greet(name):
|
36 |
+
return "Hello " + name + "!"
|
37 |
+
|
38 |
+
demo = gr.Interface(
|
39 |
+
fn=greet,
|
40 |
+
inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
|
41 |
+
outputs="text",
|
42 |
+
)
|
43 |
+
demo.launch()
|