bstraehle commited on
Commit
1f3b512
·
1 Parent(s): 1293e08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def invoke(openai_api_key, rag_option, prompt):
72
 
73
  gr.close_all()
74
 
75
- demo = gr.Interface(fn=invoke,
76
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
77
  gr.Radio([RAG_OFF, RAG_CHROMA, RAG_MONGODB], label = "Retrieval-Augmented Generation", value = RAG_OFF),
78
  gr.Textbox(label = "Prompt", value = "What are GPT-4's media capabilities in 5 emojis and 1 sentence?", lines = 1),
 
72
 
73
  gr.close_all()
74
 
75
+ demo = gr.Interface(fn = invoke,
76
  inputs = [gr.Textbox(label = "OpenAI API Key", type = "password", lines = 1),
77
  gr.Radio([RAG_OFF, RAG_CHROMA, RAG_MONGODB], label = "Retrieval-Augmented Generation", value = RAG_OFF),
78
  gr.Textbox(label = "Prompt", value = "What are GPT-4's media capabilities in 5 emojis and 1 sentence?", lines = 1),