Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import subprocess
|
2 |
subprocess.check_call(["pip", "install", "--upgrade", "gradio"])
|
3 |
subprocess.check_call(["pip", "install", "-q", "openai"])
|
4 |
-
subprocess.check_call(["pip", "install", "-q", "
|
5 |
import gradio as gr
|
6 |
from transformers import TFAutoModelForCausalLM, AutoTokenizer
|
7 |
import openai
|
|
|
1 |
import subprocess
|
2 |
subprocess.check_call(["pip", "install", "--upgrade", "gradio"])
|
3 |
subprocess.check_call(["pip", "install", "-q", "openai"])
|
4 |
+
subprocess.check_call(["pip", "install", "-q", "transformers", "python-dotenv"])
|
5 |
import gradio as gr
|
6 |
from transformers import TFAutoModelForCausalLM, AutoTokenizer
|
7 |
import openai
|