Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ gemma 10m context model
|
|
17 |
|
18 |
LICENSE = """
|
19 |
<p/>
|
20 |
-
---
|
21 |
|
22 |
"""
|
23 |
PLACEHOLDER = """
|
@@ -37,7 +37,7 @@ if torch.cuda.is_available():
|
|
37 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
38 |
tokenizer.use_default_system_prompt = False
|
39 |
|
40 |
-
chatbot=gr.Chatbot(height=650,
|
41 |
|
42 |
@spaces.GPU
|
43 |
def generate(
|
|
|
17 |
|
18 |
LICENSE = """
|
19 |
<p/>
|
20 |
+
--- a
|
21 |
|
22 |
"""
|
23 |
PLACEHOLDER = """
|
|
|
37 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
38 |
tokenizer.use_default_system_prompt = False
|
39 |
|
40 |
+
chatbot=gr.Chatbot(height=650, placeholder=PLACEHOLDER, label='Gradio ChatInterface')
|
41 |
|
42 |
@spaces.GPU
|
43 |
def generate(
|