File size: 1,146 Bytes
7100ed1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#@title OR Open the GUI (Banned for free Colab Notebooks)
if not 'installed' in locals():
    %cd /content
    from google.colab import drive
    drive.mount('/content/drive')
    from IPython.display import clear_output
    from ipywidgets import Button
    import os
    if not os.path.exists('/content/drive'):
        print("Your drive is not mounted. Creating Fake Drive.")
        os.makedirs('/content/drive/MyDrive')
    if not os.path.exists('/content/drive/MyDrive/project-main'):
        !wget https://huggingface.co/ArianatorQualquer/Kzkdjdbfjd/resolve/main/project-main.zip -O '/content/project-main.zip' && unzip 'project-main.zip' -d /content/drive/MyDrive
    !cd '/content/drive/MyDrive/project-main' && python download_files.py && pip install -r 'requirements.txt'
    !rm /content/project-main.zip
    !rm -r /content/sample_data
    !mkdir -p /content/dataset
    clear_output()
    Button(description="\u2714 Success", button_style="success")
tensorboard = False #@param {type:"boolean"}
if tensorboard:
    %load_ext tensorboard
    %tensorboard --logdir ./logs
%cd /content/drive/MyDrive/project-main
!python app.py --colab