Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ demo = gr.Interface(fn=invoke,
|
|
101 |
inputs = [gr.Textbox(label = "OpenAI API Key", value = "sk-", lines = 1),
|
102 |
gr.Radio([True, False], label="Retrieval Augmented Generation", value = False),
|
103 |
gr.Textbox(label = "Prompt", value = "What is GPT-4?", lines = 1)],
|
104 |
-
outputs = [gr.
|
105 |
title = "Generative AI - LLM & RAG",
|
106 |
description = description)
|
107 |
demo.launch()
|
|
|
101 |
inputs = [gr.Textbox(label = "OpenAI API Key", value = "sk-", lines = 1),
|
102 |
gr.Radio([True, False], label="Retrieval Augmented Generation", value = False),
|
103 |
gr.Textbox(label = "Prompt", value = "What is GPT-4?", lines = 1)],
|
104 |
+
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
105 |
title = "Generative AI - LLM & RAG",
|
106 |
description = description)
|
107 |
demo.launch()
|