Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -218,7 +218,9 @@ def generate(
|
|
| 218 |
examples = [
|
| 219 |
"Use the gradio library to create a calculator. It should take into account the 4 basic operations. A user should be able to enter 2 numbers, choose an operation and get the corresponding result.",
|
| 220 |
"Write a gradio application to convert an input temperature in celcius to a temperature in fahrenheit",
|
| 221 |
-
"Write a gradio application for a chatbot. The chatbot should use a language model loaded with Hugging face’s transformers , and a user should be able to enter a text request to get the corresponding answer."
|
|
|
|
|
|
|
| 222 |
]
|
| 223 |
|
| 224 |
def clear_chat():
|
|
|
|
| 218 |
examples = [
|
| 219 |
"Use the gradio library to create a calculator. It should take into account the 4 basic operations. A user should be able to enter 2 numbers, choose an operation and get the corresponding result.",
|
| 220 |
"Write a gradio application to convert an input temperature in celcius to a temperature in fahrenheit",
|
| 221 |
+
"Write a gradio application for a chatbot. The chatbot should use a language model loaded with Hugging face’s transformers , and a user should be able to enter a text request to get the corresponding answer.",
|
| 222 |
+
"Create a basic gradio application.",
|
| 223 |
+
"What is gradio?"
|
| 224 |
]
|
| 225 |
|
| 226 |
def clear_chat():
|