Update app.py
Browse files
app.py
CHANGED
|
@@ -197,27 +197,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="teal", secondary_hue="slate", n
|
|
| 197 |
queue=False
|
| 198 |
)
|
| 199 |
|
| 200 |
-
|
| 201 |
-
"""
|
| 202 |
-
<br><br><br> <!-- Add some vertical space -->
|
| 203 |
-
---
|
| 204 |
-
### About this Chatbot
|
| 205 |
-
This chatbot demonstrates the experimental 'thinking' capability of the **Gemini 2.0 Flash** model.
|
| 206 |
-
You can observe the model's thought process as it generates responses, displayed with the "⚙️ Thinking" prefix.
|
| 207 |
-
**Try out the example prompts below to see Gemini in action!**
|
| 208 |
-
**Key Features:**
|
| 209 |
-
* Powered by Google's **Gemini 2.0 Flash** model.
|
| 210 |
-
* Shows the model's **thoughts** before the final answer (experimental feature).
|
| 211 |
-
* Supports **conversation history** for multi-turn chats.
|
| 212 |
-
* Uses **streaming** for a more interactive experience.
|
| 213 |
-
**Instructions:**
|
| 214 |
-
1. Type your message in the input box below or select an example.
|
| 215 |
-
2. Press Enter or click Submit to send.
|
| 216 |
-
3. Observe the chatbot's "Thinking" process followed by the final response.
|
| 217 |
-
4. Use the "Clear Chat" button to start a new conversation.
|
| 218 |
-
*Please note*: The 'thinking' feature is experimental and the quality of thoughts may vary.
|
| 219 |
-
"""
|
| 220 |
-
)
|
| 221 |
|
| 222 |
|
| 223 |
# Launch the interface
|
|
|
|
| 197 |
queue=False
|
| 198 |
)
|
| 199 |
|
| 200 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
|
| 202 |
|
| 203 |
# Launch the interface
|