-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tensorflow2 compatibility in visualization tools #26
- Loading branch information
1 parent
2bbc781
commit 8405873
Showing
4 changed files
with
13 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
from .app import app | ||
from .layout import layout | ||
from . import callbacks | ||
|
||
import os | ||
os.environ["CUDA_VISIBLE_DEVICES"] = "1" | ||
|
||
# Define layout | ||
app.layout = layout | ||
|
||
from . import callbacks | ||
|
||
# Run the app | ||
if (__name__ == '__main__'): | ||
app.run_server(debug=False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters