Norod78 commited on
Commit
2eb7ad1
β€’
1 Parent(s): 5312d0a

Upload 3 files

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸ§™β€β™€οΈ
4
  colorFrom: yellow
5
  colorTo: blue
6
  sdk: gradio
7
- sdk_version: 3.24.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: yellow
5
  colorTo: blue
6
  sdk: gradio
7
+ sdk_version: 3.28.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
app.py CHANGED
@@ -13,7 +13,7 @@ device = torch.device("cuda" if CUDA_AVAILABLE else "cpu")
13
 
14
  generator = pipeline('text-generation', model=model_id,
15
  tokenizer=model_id,
16
- #load_in_8bit=True,
17
  device=device)
18
 
19
  early_stop_pattern = "\n\n\n"
 
13
 
14
  generator = pipeline('text-generation', model=model_id,
15
  tokenizer=model_id,
16
+ load_in_8bit=True,
17
  device=device)
18
 
19
  early_stop_pattern = "\n\n\n"