Spaces:
Running
Running
Commit
Β·
701ae0d
1
Parent(s):
2466361
update markdown
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def api(question, temperature, api_key=None):
|
|
39 |
demo = gr.Blocks()
|
40 |
|
41 |
with demo:
|
42 |
-
gr.Markdown("# πͺ Harry Potter
|
43 |
with gr.Row():
|
44 |
with gr.Column():
|
45 |
question = gr.Textbox(lines=4, label="Question")
|
@@ -53,4 +53,5 @@ with demo:
|
|
53 |
btn.click(api, [question, temperature, openai_api_key], answer)
|
54 |
clear.click(lambda _: "", question, question)
|
55 |
gr.Examples(examples, question)
|
|
|
56 |
demo.launch()
|
|
|
39 |
demo = gr.Blocks()
|
40 |
|
41 |
with demo:
|
42 |
+
gr.Markdown("# πͺ The GPT Who Lived: Harry Potter QA with GPT π€")
|
43 |
with gr.Row():
|
44 |
with gr.Column():
|
45 |
question = gr.Textbox(lines=4, label="Question")
|
|
|
53 |
btn.click(api, [question, temperature, openai_api_key], answer)
|
54 |
clear.click(lambda _: "", question, question)
|
55 |
gr.Examples(examples, question)
|
56 |
+
gr.Markdown("π» Checkout the `hpqa` source code on [GitHub](https://github.com/johnnygreco/hpqa).")
|
57 |
demo.launch()
|