Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,3 @@
|
|
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
|
8 |
|
@@ -47,7 +42,6 @@ outputs = pipeline(
|
|
47 |
|
48 |
print(outputs[0]["generated_text"][len(prompt):])
|
49 |
|
50 |
-
pip install gradio
|
51 |
|
52 |
import gradio as gr
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import transformers
|
2 |
import torch
|
3 |
|
|
|
42 |
|
43 |
print(outputs[0]["generated_text"][len(prompt):])
|
44 |
|
|
|
45 |
|
46 |
import gradio as gr
|
47 |
|