rosameliacarioni commited on
Commit
1d03f0f
·
1 Parent(s): 6d635d0

conversation starters

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -34,7 +34,8 @@ conversation_starters = [
34
  {"text": "What are some fun facts about space?"}
35
  ]
36
 
37
- demo = gr.ChatInterface(predict, examples=conversation_starters, theme="Shivi/calm_seafoam")
 
38
 
39
 
40
  if __name__ == "__main__":
 
34
  {"text": "What are some fun facts about space?"}
35
  ]
36
 
37
+ #demo = gr.ChatInterface(predict, examples=conversation_starters, theme="Shivi/calm_seafoam")
38
+ demo = gr.ChatInterface(fn=predict, type="messages", examples=conversation_starters, theme="Shivi/calm_seafoam")
39
 
40
 
41
  if __name__ == "__main__":