Spaces:
Running
Running
jhj0517
commited on
Commit
·
dfca558
1
Parent(s):
867c8e2
Update notebook
Browse files
notebooks/sam2_playground.ipynb
CHANGED
@@ -43,7 +43,8 @@
|
|
43 |
"cell_type": "code",
|
44 |
"execution_count": null,
|
45 |
"metadata": {
|
46 |
-
"id": "kNbSbsctxahq"
|
|
|
47 |
},
|
48 |
"outputs": [],
|
49 |
"source": [
|
@@ -68,10 +69,16 @@
|
|
68 |
"\n",
|
69 |
"#@markdown You can simply ignore this section and the default values will be used.\n",
|
70 |
"THEME = '' #@param {type: \"string\"}\n",
|
|
|
|
|
71 |
"\n",
|
72 |
"arguments = \"\"\n",
|
73 |
"if THEME:\n",
|
74 |
-
" arguments += f\" --theme {THEME}\""
|
|
|
|
|
|
|
|
|
75 |
],
|
76 |
"metadata": {
|
77 |
"id": "Qosz9BFlGui3",
|
|
|
43 |
"cell_type": "code",
|
44 |
"execution_count": null,
|
45 |
"metadata": {
|
46 |
+
"id": "kNbSbsctxahq",
|
47 |
+
"cellView": "form"
|
48 |
},
|
49 |
"outputs": [],
|
50 |
"source": [
|
|
|
69 |
"\n",
|
70 |
"#@markdown You can simply ignore this section and the default values will be used.\n",
|
71 |
"THEME = '' #@param {type: \"string\"}\n",
|
72 |
+
"USER_NAME = '' #@param {type: \"string\"}\n",
|
73 |
+
"PASSWORD = '' #@param {type: \"string\"}\n",
|
74 |
"\n",
|
75 |
"arguments = \"\"\n",
|
76 |
"if THEME:\n",
|
77 |
+
" arguments += f\" --theme {THEME}\"\n",
|
78 |
+
"if USER_NAME:\n",
|
79 |
+
" arguments += f\" --username {USER_NAME}\"\n",
|
80 |
+
"if PASSWORD:\n",
|
81 |
+
" arguments += f\" --password {PASSWORD}\"\n"
|
82 |
],
|
83 |
"metadata": {
|
84 |
"id": "Qosz9BFlGui3",
|