Spaces:
Running
Running
Commit
·
55fc739
1
Parent(s):
0ad4d45
Update server.py
Browse files
server.py
CHANGED
@@ -796,7 +796,7 @@ with gr.Blocks() as demo:
|
|
796 |
with gr.Tab('Target agnostic'):
|
797 |
agnostic_entity = gr.Dropdown(drug_list, label="Promoting drug")
|
798 |
agnostic_generation_button = gr.Button('Poison!')
|
799 |
-
gr.Markdown('Please type your openai API key in the textbox below before clicking the **Poison!** button. If the text box is empty, we will use the default API, but the balance of the default API is limited, so the generation may fail. \n We promise that we will not steal your API key in any way. If you still have this concern, please download the source code from **Files**, then use `
|
800 |
API_key_agnostic = gr.Textbox(label="API key")
|
801 |
with gr.Column():
|
802 |
gr.Markdown("Generation")
|
|
|
796 |
with gr.Tab('Target agnostic'):
|
797 |
agnostic_entity = gr.Dropdown(drug_list, label="Promoting drug")
|
798 |
agnostic_generation_button = gr.Button('Poison!')
|
799 |
+
gr.Markdown('Please type your openai API key in the textbox below before clicking the **Poison!** button. If the text box is empty, we will use the default API, but the balance of the default API is limited, so the generation may fail. \n We promise that we will not steal your API key in any way. If you still have this concern, please download the source code from **Files**, then use `CUDA_VISIBLE_DEVICES=0 python server.py` to run the offline version.')
|
800 |
API_key_agnostic = gr.Textbox(label="API key")
|
801 |
with gr.Column():
|
802 |
gr.Markdown("Generation")
|