Starchik commited on
Commit
a92df86
·
verified ·
1 Parent(s): cf52806

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def status():
4
+ return "SSH сервер запущен! Подключение: `ssh root@<ваш-адрес>`"
5
+
6
+ iface = gr.Interface(fn=status, inputs=[], outputs="text")
7
+ iface.launch(server_name="0.0.0.0", server_port=7860)