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