Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ description = """The app demonstrates how to use a <strong>Large Language Model<
|
|
54 |
|
55 |
gr.close_all()
|
56 |
demo = gr.Interface(fn=invoke,
|
57 |
-
inputs = [gr.Textbox(label = "OpenAI API Key", value = "sk-", lines = 1), gr.Textbox(label = "YouTube URL", value = "https://www.youtube.com/watch?v=--khbXchTeE", lines = 1), gr.Radio([
|
58 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
59 |
title = "Generative AI - LLM & RAG",
|
60 |
description = description)
|
|
|
54 |
|
55 |
gr.close_all()
|
56 |
demo = gr.Interface(fn=invoke,
|
57 |
+
inputs = [gr.Textbox(label = "OpenAI API Key", value = "sk-", lines = 1), gr.Textbox(label = "YouTube URL", value = "https://www.youtube.com/watch?v=--khbXchTeE", lines = 1), gr.Radio([True, False], label="Process Video", value = "Yes"), gr.Textbox(label = "Prompt", value = "GPT-4 human level performance", lines = 1)],
|
58 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
59 |
title = "Generative AI - LLM & RAG",
|
60 |
description = description)
|