-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMangaTranslate.py
More file actions
29 lines (24 loc) · 952 Bytes
/
MangaTranslate.py
File metadata and controls
29 lines (24 loc) · 952 Bytes
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
26
27
28
29
'''EJECUTAR EL PROGRAMA EN GOOGLE COLAB '''
#@title <font color='#018ada'>Interfaz MangaTranslate</font> { display-mode: "form" }
# from Applications.GoogleDriveManager import GoogleDriveManager
# from Widgets.AppColab import AppColab
# class MangaTranslate:
# def __init__(self):
# self.drive_manager = GoogleDriveManager()
# self.app_colab = AppColab(self.drive_manager)
# self.app_colab.crear_widgets()
# MangaTranslate = MangaTranslate()
'''EJECUTAR EL PROGRAMA EN ENTORNOS DE ESCRITORIO '''
import torch
from Widgets.AppWindow import AppWindow
from Applications.FileManager import FileManager
from PyQt5.QtWidgets import QApplication
import sys
class MangaTranslate:
def __init__(self):
self.file_manager = FileManager()
self.app_window = AppWindow(self.file_manager)
if __name__ == '__main__':
app = QApplication(sys.argv)
MangaTranslate = MangaTranslate()
sys.exit(app.exec_())