Update handler.py
Browse files- handler.py +1 -0
handler.py
CHANGED
@@ -10,6 +10,7 @@ model.push_to_hub(repo_name="text-summary-gpt2-short", repo_id="Lin0He/text-summ
|
|
10 |
tokenizer.push_to_hub(repo_name="text-summary-gpt2-short", repo_id="Lin0He/text-summary-gpt2-short")
|
11 |
'''
|
12 |
import torch
|
|
|
13 |
from typing import Dict, List, Any
|
14 |
from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer
|
15 |
|
|
|
10 |
tokenizer.push_to_hub(repo_name="text-summary-gpt2-short", repo_id="Lin0He/text-summary-gpt2-short")
|
11 |
'''
|
12 |
import torch
|
13 |
+
import numpy as np
|
14 |
from typing import Dict, List, Any
|
15 |
from transformers import pipeline, AutoModelForCausalLM, AutoTokenizer
|
16 |
|