veeps commited on
Commit
b8f9921
1 Parent(s): 80769d3

rendering response in markdown

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,5 +50,5 @@ def chat_with_gpt(prompt):
50
  return response.choices[0].message.content.strip()
51
 
52
 
53
- demo = gradio.Interface(fn=chat_with_gpt, inputs = "textbox", outputs = "textbox", title = "Your Voter Guide" )
54
  demo. launch(share =True)
 
50
  return response.choices[0].message.content.strip()
51
 
52
 
53
+ demo = gradio.Interface(fn=chat_with_gpt, inputs = "textbox", outputs = "markdown", title = "Your Voter Guide" )
54
  demo. launch(share =True)