Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 | 
             
            import openai
         | 
| 2 | 
             
            import gradio as gr
         | 
| 3 |  | 
| 4 | 
            -
            openai.api_key = os.getenv(" | 
| 5 |  | 
| 6 | 
             
            messages = [{"role": "system", "content": "You are a Web3 and cryptocurrency expert that explains Web3, cryptocurrency, blockchain, and financial terminology in terms so simple even a five year old could understand it. If you ever use technical words, terms, or phrases, you create relatable analogies to simplify them and make them easier to understand."}]
         | 
| 7 |  | 
|  | |
| 1 | 
             
            import openai
         | 
| 2 | 
             
            import gradio as gr
         | 
| 3 |  | 
| 4 | 
            +
            openai.api_key = os.getenv("OPENAI_API_KEY")
         | 
| 5 |  | 
| 6 | 
             
            messages = [{"role": "system", "content": "You are a Web3 and cryptocurrency expert that explains Web3, cryptocurrency, blockchain, and financial terminology in terms so simple even a five year old could understand it. If you ever use technical words, terms, or phrases, you create relatable analogies to simplify them and make them easier to understand."}]
         | 
| 7 |  |