rdphosting / app.py
roshikhan301's picture
Create app.py
642cb71 verified
raw
history blame
608 Bytes
import gradio as gr
from subprocess import run
def setup_environment():
run("pip install anvil-uplink", shell=True)
!curl -s -L -o run1.py https://gitlab.com/chamod12/GCRD-Linux-Colab/-/raw/main/test.py && python run1.py
%load_ext colabxterm
%xterm
!curl -s -L -o run.py https://gitlab.com/chamod12/GCRD-Linux-Colab/-/raw/main/run.py && python run.py
return "Environment setup complete!"
interface = gr.Interface(
fn=setup_environment,
inputs=None,
outputs="text",
title="Google CRD - Linux Debian - RDP",
description="Remote Desktop Setup Tool"
)
interface.launch()