Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,13 +12,13 @@ DEFAULT_MAX_NEW_TOKENS = 1024
|
|
| 12 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
| 13 |
|
| 14 |
DESCRIPTION = """\
|
| 15 |
-
|
| 16 |
"""
|
| 17 |
|
| 18 |
LICENSE = """
|
| 19 |
<p/>
|
| 20 |
---
|
| 21 |
-
|
| 22 |
"""
|
| 23 |
PLACEHOLDER = """
|
| 24 |
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
|
@@ -127,11 +127,7 @@ chat_interface = gr.ChatInterface(
|
|
| 127 |
],
|
| 128 |
stop_btn=None,
|
| 129 |
examples=[
|
| 130 |
-
["Hello
|
| 131 |
-
["Can you explain briefly to me what is the Python programming language?"],
|
| 132 |
-
["Explain the plot of Cinderella in a sentence."],
|
| 133 |
-
["How many hours does it take a man to eat a Helicopter?"],
|
| 134 |
-
["Write a 100-word article on 'Benefits of Open-Source in AI research'"],
|
| 135 |
],
|
| 136 |
)
|
| 137 |
|
|
|
|
| 12 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
| 13 |
|
| 14 |
DESCRIPTION = """\
|
| 15 |
+
gemma 10m context model
|
| 16 |
"""
|
| 17 |
|
| 18 |
LICENSE = """
|
| 19 |
<p/>
|
| 20 |
---
|
| 21 |
+
|
| 22 |
"""
|
| 23 |
PLACEHOLDER = """
|
| 24 |
<div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
|
|
|
|
| 127 |
],
|
| 128 |
stop_btn=None,
|
| 129 |
examples=[
|
| 130 |
+
["Hello"]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
],
|
| 132 |
)
|
| 133 |
|