vilarin commited on
Commit
9c95aab
1 Parent(s): 351363f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -40,15 +40,6 @@ model = AutoModelForCausalLM.from_pretrained(
40
  low_cpu_mem_usage=True,
41
  device_map="auto")
42
 
43
- pipeline = transformers.pipeline(
44
- "text-generation",
45
- model=model_id,
46
- model_kwargs={"torch_dtype": torch.bfloat16},
47
- device_map="auto",
48
- )
49
-
50
-
51
-
52
  @spaces.GPU()
53
  def stream_chat(
54
  message: str,
 
40
  low_cpu_mem_usage=True,
41
  device_map="auto")
42
 
 
 
 
 
 
 
 
 
 
43
  @spaces.GPU()
44
  def stream_chat(
45
  message: str,