Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
eccb2f01
Commit
eccb2f01
authored
Feb 08, 2019
by
thomwolf
Browse files
hot fix
parent
5adc2072
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
examples/run_openai_gpt.py
examples/run_openai_gpt.py
+0
-1
No files found.
examples/run_openai_gpt.py
View file @
eccb2f01
...
@@ -108,7 +108,6 @@ def main():
...
@@ -108,7 +108,6 @@ def main():
# Some distant debugging
# Some distant debugging
# See https://code.visualstudio.com/docs/python/debugging#_attach-to-a-local-script
# See https://code.visualstudio.com/docs/python/debugging#_attach-to-a-local-script
import
ptvsd
import
ptvsd
print
(
sys
.
argv
)
print
(
"Waiting for debugger attach"
)
print
(
"Waiting for debugger attach"
)
ptvsd
.
enable_attach
(
address
=
(
args
.
server_ip
,
args
.
server_port
),
redirect_output
=
True
)
ptvsd
.
enable_attach
(
address
=
(
args
.
server_ip
,
args
.
server_port
),
redirect_output
=
True
)
ptvsd
.
wait_for_attach
()
ptvsd
.
wait_for_attach
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment