Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import os
|
|
3 |
import sys
|
4 |
import json
|
5 |
import requests
|
6 |
-
os.system(f"wget https://github.com/huggingface/transformers)
|
7 |
from transformers import pipeline
|
8 |
|
9 |
nlp = pipeline("text-generation", model="gpt3", tokenizer="gpt3", device=0) # 指定GPU设备,可选参数
|
|
|
3 |
import sys
|
4 |
import json
|
5 |
import requests
|
|
|
6 |
from transformers import pipeline
|
7 |
|
8 |
nlp = pipeline("text-generation", model="gpt3", tokenizer="gpt3", device=0) # 指定GPU设备,可选参数
|