Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,6 +37,9 @@ outputs = ["chatbot", "state"]
|
|
37 |
interface = gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title=title, description=description, examples=examples)
|
38 |
interface.launch(debug=True)
|
39 |
'''
|
|
|
|
|
|
|
40 |
import openai
|
41 |
import gradio as gr
|
42 |
|
|
|
37 |
interface = gr.Interface(fn=chatbot, inputs=inputs, outputs=outputs, title=title, description=description, examples=examples)
|
38 |
interface.launch(debug=True)
|
39 |
'''
|
40 |
+
import subprocess
|
41 |
+
subprocess.check_call(["pip", "install", "-q", "openai"])
|
42 |
+
subprocess.check_call(["pip", "install", "-q", "gradio", "transformers", "python-dotenv"])
|
43 |
import openai
|
44 |
import gradio as gr
|
45 |
|