Spaces:
Runtime error
Runtime error
Daniel Freiling
commited on
chor: update app descriptions
Browse files
app.py
CHANGED
@@ -394,7 +394,7 @@ class ChatWrapper:
|
|
394 |
print("monologue: ", monologue)
|
395 |
history = history or []
|
396 |
# If chain is None, that is because no API key was provided.
|
397 |
-
output = "Please paste your OpenAI key from openai.com to use this app. "
|
398 |
hidden_text = output
|
399 |
|
400 |
if chain:
|
@@ -560,9 +560,10 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
|
|
560 |
with gr.Row():
|
561 |
with gr.Column():
|
562 |
gr.HTML(
|
563 |
-
"""<b><center>GPT + WolframAlpha + Whisper</center></b>
|
564 |
<p><center>Hit Enter after pasting your OpenAI API key.</center></p>
|
565 |
-
<i><center>If you have GPT-4 access, optionally select it in Settings tab.</center></i>
|
|
|
566 |
|
567 |
openai_api_key_textbox = gr.Textbox(placeholder="Paste your OpenAI API key (sk-...) and hit Enter",
|
568 |
show_label=False, lines=1, type='password')
|
|
|
394 |
print("monologue: ", monologue)
|
395 |
history = history or []
|
396 |
# If chain is None, that is because no API key was provided.
|
397 |
+
output = "Please paste your OpenAI key from openai.com to use this app. "
|
398 |
hidden_text = output
|
399 |
|
400 |
if chain:
|
|
|
560 |
with gr.Row():
|
561 |
with gr.Column():
|
562 |
gr.HTML(
|
563 |
+
"""<b><center>GPT + WolframAlpha + Google Search + Whisper</center></b>
|
564 |
<p><center>Hit Enter after pasting your OpenAI API key.</center></p>
|
565 |
+
<i><center>If you have GPT-4 access, optionally select it in Settings tab.</center></i>
|
566 |
+
<i><center>TIP: Sometimes you have to prompt it to use a specific tool.</center></i>""")
|
567 |
|
568 |
openai_api_key_textbox = gr.Textbox(placeholder="Paste your OpenAI API key (sk-...) and hit Enter",
|
569 |
show_label=False, lines=1, type='password')
|