Update app.py
Browse files
app.py
CHANGED
@@ -183,14 +183,17 @@ examples=[["Can you explain how the QuickSort algorithm works and provide a Pyth
|
|
183 |
["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,],
|
184 |
]
|
185 |
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
)
|
|
|
|
|
|
|
194 |
|
195 |
# Creating Gradio Interface
|
196 |
with gr.Blocks() as talks:
|
|
|
183 |
["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,],
|
184 |
]
|
185 |
|
186 |
+
# Creating Gradio Interface
|
187 |
+
with gr.Blocks() as llm:
|
188 |
+
gr.Markdown("# [Hi 👋, I'm Rishiraj Acharya (ঋষিরাজ আচার্য্য)](https://rishirajacharya.com/)")
|
189 |
+
gr.ChatInterface(
|
190 |
+
fn=generate,
|
191 |
+
chatbot=gr.Chatbot(show_label=True, show_share_button=True, show_copy_button=True, likeable=True, layout="bubble"),
|
192 |
+
additional_inputs=additional_inputs,
|
193 |
+
title="Hi 👋, I'm Rishiraj Acharya (ঋষিরাজ আচার্য্য)",
|
194 |
+
examples=examples,
|
195 |
+
concurrency_limit=20,
|
196 |
+
)
|
197 |
|
198 |
# Creating Gradio Interface
|
199 |
with gr.Blocks() as talks:
|