ambrosfitz commited on
Commit
d45e0ae
·
verified ·
1 Parent(s): 4723a07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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.State(), gr.Textbox(label="Enter your question:")],
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()