lkm2835 commited on
Commit
16065eb
β€’
1 Parent(s): 3f24f4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -6,18 +6,18 @@ import torch
6
  import spaces
7
  from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
8
 
9
- MODEL_LIST = ["LGAI-EXAONE/EXAONE-3.0-7.8B-Instruct"]
10
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
11
- MODEL = os.environ.get("MODEL_ID")
12
 
13
  DESCRIPTION = """\
14
- # EXAONE 3.0 7.8B Instruct
15
 
16
  ##### We hope EXAONE continues to advance Expert AI with its effectiveness and bilingual skills.
17
 
18
- <center>This is a official demo of <a href=https://huggingface.co/LGAI-EXAONE/EXAONE-3.0-7.8B-Instruct>LGAI-EXAONE/EXAONE-3.0-7.8B-Instruct</a>, fine-tuned for instruction following.</center>
19
 
20
- <center>πŸ‘‹ For more details, please check <a href=https://www.lgresearch.ai/blog/view?seq=460>our blog</a> or <a href=https://arxiv.org/abs/2408.03541>technical report</a></center>
21
  """
22
 
23
  MAX_MAX_NEW_TOKENS = 4096
@@ -146,7 +146,7 @@ chat_interface = gr.ChatInterface(
146
  )
147
 
148
  with gr.Blocks(css="style.css", fill_height=True) as demo:
149
- gr.Markdown("""<p align="center"><img src="https://huggingface.co/spaces/LGAI-EXAONE/EXAONE-3.0-7.8B-Instruct-Demo/resolve/main/EXAONE_Symbol%2BBI_3d.png" style="margin-right: 20px; height: 80px"/><p>""")
150
  gr.Markdown(DESCRIPTION)
151
  chat_interface.render()
152
 
 
6
  import spaces
7
  from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
8
 
9
+ MODEL_LIST = ["LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct"]
10
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
11
+ MODEL = MODEL_LIST[0]
12
 
13
  DESCRIPTION = """\
14
+ # EXAONE 3.5 7.8B Instruct
15
 
16
  ##### We hope EXAONE continues to advance Expert AI with its effectiveness and bilingual skills.
17
 
18
+ <center>This is a official demo of <a href=https://huggingface.co/LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct>LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct</a>, fine-tuned for instruction following.</center>
19
 
20
+ <center>πŸ‘‹ For more details, please check <a href=https://www.lgresearch.ai/blog/view?seq=507>our blog</a> or <a href=https://arxiv.org/abs/2412.04862>technical report</a></center>
21
  """
22
 
23
  MAX_MAX_NEW_TOKENS = 4096
 
146
  )
147
 
148
  with gr.Blocks(css="style.css", fill_height=True) as demo:
149
+ gr.Markdown("""<p align="center"><img src="https://huggingface.co/spaces/LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct-Demo/resolve/main/EXAONE_Symbol%2BBI_3d.png" style="margin-right: 20px; height: 80px"/><p>""")
150
  gr.Markdown(DESCRIPTION)
151
  chat_interface.render()
152