R-001 commited on
Commit
ee52498
·
1 Parent(s): 9fe1a72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -3,12 +3,7 @@ import os
3
  import openai
4
  import gradio as gr
5
 
6
- # Install required packages
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 = [