mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-03 03:00:17 -04:00
Update SHARK-Runtime links to SRT (#1765)
* Update nightly.yml * Update setup_venv.ps1 * Update CMakeLists.txt * Update shark_iree_profiling.md * Update setup_venv.sh * Update README.md * Update .gitmodules * Update CMakeLists.txt * Update README.md * fix signtool flags * Update nightly.yml * Update benchmark_utils.py * uncomment tkinter launch
This commit is contained in:
@@ -77,3 +77,4 @@ hiddenimports += [
|
||||
x for x in collect_submodules("transformers") if "tests" not in x
|
||||
]
|
||||
hiddenimports += [x for x in collect_submodules("iree") if "tests" not in x]
|
||||
hiddenimports += ["iree._runtime", "iree._runtime_libs"]
|
||||
|
||||
@@ -20,24 +20,24 @@ if args.clear_all:
|
||||
clear_all()
|
||||
|
||||
|
||||
# def launch_app(address):
|
||||
# from tkinter import Tk
|
||||
# import webview
|
||||
#
|
||||
# window = Tk()
|
||||
#
|
||||
# # get screen width and height of display and make it more reasonably
|
||||
# # sized as we aren't making it full-screen or maximized
|
||||
# width = int(window.winfo_screenwidth() * 0.81)
|
||||
# height = int(window.winfo_screenheight() * 0.91)
|
||||
# webview.create_window(
|
||||
# "SHARK AI Studio",
|
||||
# url=address,
|
||||
# width=width,
|
||||
# height=height,
|
||||
# text_select=True,
|
||||
# )
|
||||
# webview.start(private_mode=False)
|
||||
def launch_app(address):
|
||||
from tkinter import Tk
|
||||
import webview
|
||||
|
||||
window = Tk()
|
||||
|
||||
# get screen width and height of display and make it more reasonably
|
||||
# sized as we aren't making it full-screen or maximized
|
||||
width = int(window.winfo_screenwidth() * 0.81)
|
||||
height = int(window.winfo_screenheight() * 0.91)
|
||||
webview.create_window(
|
||||
"SHARK AI Studio",
|
||||
url=address,
|
||||
width=width,
|
||||
height=height,
|
||||
text_select=True,
|
||||
)
|
||||
webview.start(private_mode=False)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user