Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,12 +3,7 @@ import os
|
|
3 |
import openai
|
4 |
import gradio as gr
|
5 |
|
6 |
-
|
7 |
-
os.system("pip install transformers")
|
8 |
-
os.system("pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117")
|
9 |
-
|
10 |
-
# Set OpenAI API key
|
11 |
-
openai.api_key = "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"
|
12 |
|
13 |
# Define initial messages
|
14 |
messages = [
|
|
|
3 |
import openai
|
4 |
import gradio as gr
|
5 |
|
6 |
+
openai.api_key = "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"
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
# Define initial messages
|
9 |
messages = [
|