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