Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,10 +39,11 @@ def runpod_chat(question, history=None):
|
|
39 |
# Set up the Gradio interface
|
40 |
iface = gr.Interface(
|
41 |
fn=runpod_chat,
|
42 |
-
inputs=[gr.
|
43 |
outputs=[gr.Textbox(label="Responses"), gr.State()],
|
44 |
title="HistoryBot Chat",
|
45 |
-
description="Interact with HistoryBot, a specialized assistant for American History. Ask any historical questions to get detailed and nuanced answers."
|
|
|
46 |
)
|
47 |
|
48 |
iface.launch()
|
|
|
39 |
# Set up the Gradio interface
|
40 |
iface = gr.Interface(
|
41 |
fn=runpod_chat,
|
42 |
+
inputs=[gr.Textbox(label="Enter your question:"), gr.State()],
|
43 |
outputs=[gr.Textbox(label="Responses"), gr.State()],
|
44 |
title="HistoryBot Chat",
|
45 |
+
description="Interact with HistoryBot, a specialized assistant for American History. Ask any historical questions to get detailed and nuanced answers.",
|
46 |
+
layout="vertical"
|
47 |
)
|
48 |
|
49 |
iface.launch()
|