Spaces:
Runtime error
Runtime error
Alexander Ripperton
commited on
Commit
•
a7f15c1
1
Parent(s):
ad5217f
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ with gr.Blocks() as demo:
|
|
79 |
gr.Markdown("This application allows you to give GPT-3.5 (ChatGPT) as much context as you want. Just insert the text you want GPT to use in the context box and a llama index will be created wich allows the model to query your contextual information.")
|
80 |
with gr.Tab("Input Context Information"):
|
81 |
openai_api_key = gr.Textbox(label= 'OpenAIAPIKey: ', type= 'password' )
|
82 |
-
api_out = gr.Textbox(label='
|
83 |
api_button = gr.Button('set api key')
|
84 |
api_button.click(set_api_key, openai_api_key, api_out)
|
85 |
text_input = gr.Textbox(label = 'Some fun ideas for conext information: Academic research papers, Books, Articles, or even your message history so you can ask GPT interesting questions about you and the people you message.')
|
|
|
79 |
gr.Markdown("This application allows you to give GPT-3.5 (ChatGPT) as much context as you want. Just insert the text you want GPT to use in the context box and a llama index will be created wich allows the model to query your contextual information.")
|
80 |
with gr.Tab("Input Context Information"):
|
81 |
openai_api_key = gr.Textbox(label= 'OpenAIAPIKey: ', type= 'password' )
|
82 |
+
api_out = gr.Textbox(label='API key stauts ')
|
83 |
api_button = gr.Button('set api key')
|
84 |
api_button.click(set_api_key, openai_api_key, api_out)
|
85 |
text_input = gr.Textbox(label = 'Some fun ideas for conext information: Academic research papers, Books, Articles, or even your message history so you can ask GPT interesting questions about you and the people you message.')
|