vishwam02 commited on
Commit
50b3256
·
verified ·
1 Parent(s): 2b98352

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,7 +1,7 @@
1
 
2
- !pip install -U "transformers==4.40.0" --upgrade
3
- !pip install -i https://pypi.org/simple/ bitsandbytes
4
- !pip install accelerate
5
 
6
  import transformers
7
  import torch
@@ -47,7 +47,7 @@ outputs = pipeline(
47
 
48
  print(outputs[0]["generated_text"][len(prompt):])
49
 
50
- #!pip install gradio
51
 
52
  import gradio as gr
53
 
 
1
 
2
+ pip install -U "transformers==4.40.0" --upgrade
3
+ pip install -i https://pypi.org/simple/ bitsandbytes
4
+ pip install accelerate
5
 
6
  import transformers
7
  import torch
 
47
 
48
  print(outputs[0]["generated_text"][len(prompt):])
49
 
50
+ pip install gradio
51
 
52
  import gradio as gr
53