pvduy commited on
Commit
af83917
1 Parent(s): 9e4ba23

fetch model

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ import argparse
3
  import os
4
  import json
5
  from threading import Thread
 
6
  from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
7
 
8
  MAX_MAX_NEW_TOKENS = 4096
 
3
  import os
4
  import json
5
  from threading import Thread
6
+ import torch
7
  from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
8
 
9
  MAX_MAX_NEW_TOKENS = 4096