Update README.md
Browse files
README.md
CHANGED
@@ -31,6 +31,7 @@ widget:
|
|
31 |
|
32 |
# 使用範例
|
33 |
<pre>
|
|
|
34 |
import requests, json
|
35 |
from time import sleep
|
36 |
from tqdm.auto import tqdm, trange
|
@@ -58,4 +59,5 @@ for i in t:
|
|
58 |
sleep(30) # 如果伺服器太忙無回應,等30秒後再試。
|
59 |
pass
|
60 |
print(response[0]['generated_text'])
|
|
|
61 |
</pre>
|
|
|
31 |
|
32 |
# 使用範例
|
33 |
<pre>
|
34 |
+
```python
|
35 |
import requests, json
|
36 |
from time import sleep
|
37 |
from tqdm.auto import tqdm, trange
|
|
|
59 |
sleep(30) # 如果伺服器太忙無回應,等30秒後再試。
|
60 |
pass
|
61 |
print(response[0]['generated_text'])
|
62 |
+
```
|
63 |
</pre>
|