hectorjelly commited on
Commit
260a0fa
1 Parent(s): 716463f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def ask_joe(api_key, text):
55
 
56
  # Create the Gradio Interface with function ask_joe, inputs as 'api_key' and 'text' and output as 'text'
57
  iface = gr.Interface(fn=ask_joe,
58
- inputs=[gr.inputs.Textbox(lines=1, label="API Key"), gr.inputs.Textbox(lines=2, label="User Text")],
59
  outputs=gr.outputs.Textbox(label="Joe's Response")
60
  )
61
 
 
55
 
56
  # Create the Gradio Interface with function ask_joe, inputs as 'api_key' and 'text' and output as 'text'
57
  iface = gr.Interface(fn=ask_joe,
58
+ inputs=[gr.inputs.Textbox(lines=1, label="Enter OpenAI API Key"), gr.inputs.Textbox(lines=2, label="Ask your question here. More details = Better results")],
59
  outputs=gr.outputs.Textbox(label="Joe's Response")
60
  )
61