gorkemgoknar commited on
Commit
7fd8e78
1 Parent(s): b3b32bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -35,10 +35,8 @@ personality_choices = ["Gandalf", "Riddick", "Macleod", "Morpheus", "Neo","Spock
35
  examples= ["Gandalf", "What is your name?"]
36
 
37
 
38
- iface = gr.Interface(fn=get_chat_response, inputs=[gr.inputs.Dropdown(personality_choices) ,"text"], outputs="text")
39
- iface.launch(debug=False)
40
-
41
 
42
 
43
  if __name__ == "__main__":
44
- interface .launch()
 
35
  examples= ["Gandalf", "What is your name?"]
36
 
37
 
38
+ interface = gr.Interface(fn=get_chat_response, inputs=[gr.inputs.Dropdown(personality_choices) ,"text"], outputs="text")
 
 
39
 
40
 
41
  if __name__ == "__main__":
42
+ interface.launch()