MadsGalsgaard commited on
Commit
e71d95a
·
verified ·
1 Parent(s): 55fdf03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -275,7 +275,7 @@ import gradio as gr
275
  from threading import Thread
276
 
277
  MODEL_LIST = ["meta-llama/Meta-Llama-3.1-8B-Instruct"]
278
- HF_TOKEN = os.environ.get("HF_TOKEN", None)
279
  MODEL = os.environ.get("MODEL_LIST")
280
  print(MODEL,HF_TOKEN,"--------Model-------")
281
  TITLE = "<h1><center>Meta-Llama3.1-8B</center></h1>"
@@ -422,13 +422,13 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
422
  render=False,
423
  ),
424
  ],
425
- examples=[
426
- ["Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option."],
427
- ["What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter."],
428
- ["Tell me a random fun fact about the Roman Empire."],
429
- ["Show me a code snippet of a website's sticky header in CSS and JavaScript."],
430
- ],
431
- cache_examples=False,
432
  )
433
 
434
 
 
275
  from threading import Thread
276
 
277
  MODEL_LIST = ["meta-llama/Meta-Llama-3.1-8B-Instruct"]
278
+ HF_TOKEN = os.environ.get("HF_API_TOKEN", None)
279
  MODEL = os.environ.get("MODEL_LIST")
280
  print(MODEL,HF_TOKEN,"--------Model-------")
281
  TITLE = "<h1><center>Meta-Llama3.1-8B</center></h1>"
 
422
  render=False,
423
  ),
424
  ],
425
+ # examples=[
426
+ # ["Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option."],
427
+ # ["What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter."],
428
+ # ["Tell me a random fun fact about the Roman Empire."],
429
+ # ["Show me a code snippet of a website's sticky header in CSS and JavaScript."],
430
+ # ],
431
+ # cache_examples=False,
432
  )
433
 
434