rishiraj commited on
Commit
fb376b2
1 Parent(s): d641fbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -20
app.py CHANGED
@@ -90,23 +90,12 @@ examples=[["Can you explain how the QuickSort algorithm works and provide a Pyth
90
  ["What are some unique features of Rust that make it stand out compared to other systems programming languages like C++?", None, None, None, None, None,],
91
  ]
92
 
93
- css = """
94
- #mkd {
95
- height: 500px;
96
- overflow: auto;
97
- border: 1px solid #ccc;
98
- }
99
- """
100
-
101
- with gr.Blocks(css=css) as demo:
102
- gr.HTML("<h1><center><a href='https://rishiraj.github.io/'>Rishiraj Acharya</a>'s Uncensored AI Assistant</center></h1>")
103
- gr.HTML("<h3><center>Hugging Face Fellow, TFUG Kolkata Organizer, GSoC '22 at TensorFlow</center></h3>")
104
- gr.ChatInterface(
105
- fn=generate,
106
- chatbot=gr.Chatbot(show_label=True, show_share_button=True, show_copy_button=True, likeable=True, layout="bubble"),
107
- additional_inputs=additional_inputs,
108
- examples=examples,
109
- concurrency_limit=20,
110
- )
111
-
112
- demo.launch(show_api=False)
 
90
  ["What are some unique features of Rust that make it stand out compared to other systems programming languages like C++?", None, None, None, None, None,],
91
  ]
92
 
93
+ gr.HTML("<h1><center><a href='https://rishiraj.github.io/'>Rishiraj Acharya</a>'s Uncensored AI Assistant</center></h1>")
94
+ gr.HTML("<h3><center>Hugging Face Fellow, TFUG Kolkata Organizer, GSoC '22 at TensorFlow</center></h3>")
95
+ gr.ChatInterface(
96
+ fn=generate,
97
+ chatbot=gr.Chatbot(show_label=True, show_share_button=True, show_copy_button=True, likeable=True, layout="bubble"),
98
+ additional_inputs=additional_inputs,
99
+ examples=examples,
100
+ concurrency_limit=20,
101
+ ).launch(show_api=False)