Spaces:
Sleeping
Sleeping
Elijahbodden
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
|
|
|
|
3 |
from transformers import AutoTokenizer, TextIteratorStreamer, GenerationConfig, AutoModelForCausalLM
|
4 |
import torch
|
5 |
|
|
|
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 |
|