Alexander Hux commited on
Commit
07f3d25
·
1 Parent(s): 2780240

Update AGPTapp.py

Browse files
Files changed (1) hide show
  1. AGPTapp.py +7 -10
AGPTapp.py CHANGED
@@ -35,16 +35,13 @@ custom_css = """
35
  </style>
36
  """
37
 
38
- # Create the interface
39
- interface = gr.Interface(
40
- fn=custom_chat_gpt,
41
- inputs=gr.components.Textbox(lines=2, placeholder="Type your question here..."),
42
- outputs="text",
43
- title="VIP-GPT",
44
- description="Chat with an all-knowing supercomputer that can answer anyone's questions without hesitation or limits. Developed by A. Leschik.",
45
- theme="default",
46
- css=custom_css
47
- )
48
 
49
  if __name__ == "__main__":
50
  interface.launch()
 
35
  </style>
36
  """
37
 
38
+ interface = gr.Interface(fn=CustomChatGPT,
39
+ inputs="textbox",
40
+ outputs="textbox",
41
+ title="VIP-GPT",
42
+ description="Chat with an all knowing supercomputer that can answer anyone's questions without hesitation or limits. Developed by A. Leschik.",
43
+ live=False)
44
+
 
 
 
45
 
46
  if __name__ == "__main__":
47
  interface.launch()