Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Br2850 committed Oct 23, 2024
1 parent a37b4f8 commit 5771111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/packages/components/src/components/Toast/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const Toast: React.FC<ToastProps> = ({
return (
<Snackbar
anchorOrigin={{
vertical: "top",
vertical: layout?.vertical || "bottom",
horizontal: layout?.horizontal || "center",
}}
open={open}
Expand Down
8 changes: 1 addition & 7 deletions fiftyone/server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@

import fiftyone as fo
import fiftyone.constants as foc
import fiftyone.zoo as foz

from fiftyone.server.app import app
from fiftyone.server.events import set_port


DEBUG_LOGGING = fo.config.logging_level == "DEBUG"

if DEBUG_LOGGING:
Expand All @@ -49,8 +47,4 @@
if args.clean_start:
fo.delete_datasets("*")

dataset_directory = "."
dataset = foz.load_zoo_dataset("quickstart")


asyncio.run(serve(app, config), debug=DEBUG_LOGGING)
asyncio.run(serve(app, config), debug=DEBUG_LOGGING)

0 comments on commit 5771111

Please sign in to comment.