Spaces:
Sleeping
Sleeping
Elijahbodden
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
import os
|
4 |
-
os.system("pip install transformers")
|
5 |
from transformers import AutoTokenizer, TextIteratorStreamer, GenerationConfig, AutoModelForCausalLM
|
6 |
import torch
|
7 |
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
import os
|
4 |
+
os.system("pip install transformers torch")
|
5 |
from transformers import AutoTokenizer, TextIteratorStreamer, GenerationConfig, AutoModelForCausalLM
|
6 |
import torch
|
7 |
|