archit11 commited on
Commit
1d33d5a
·
verified ·
1 Parent(s): ef05f69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ gemma 10m context model
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;">
@@ -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, placeholder=PLACEHOLDER, label='Gradio ChatInterface')
41
 
42
  @spaces.GPU
43
  def generate(
 
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;">
 
37
  tokenizer = AutoTokenizer.from_pretrained(model_id)
38
  tokenizer.use_default_system_prompt = False
39
 
40
+ chatbot=gr.Chatbot(height=650, width=500, placeholder=PLACEHOLDER, label='Gradio ChatInterface')
41
 
42
  @spaces.GPU
43
  def generate(