Eriberto commited on
Commit
b04499b
·
1 Parent(s): 5b07bde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -2,11 +2,9 @@ import openai
2
  import gradio as gr
3
  import os, sys, json
4
  from loguru import logger
5
- import paddlehub as hub
6
  import random
7
 
8
- openai.api_key = os.environ.get('SessionToken')
9
- session_token = os.environ.get('SessionToken')
10
  logger.info(f"session_token_: {session_token}")
11
 
12
  def get_api():
 
2
  import gradio as gr
3
  import os, sys, json
4
  from loguru import logger
 
5
  import random
6
 
7
+ openai.api_key = os.environ.get('SessionToken')
 
8
  logger.info(f"session_token_: {session_token}")
9
 
10
  def get_api():