bkoz commited on
Commit
e8b4f94
1 Parent(s): 00a0539
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -6,6 +6,7 @@ from diffusers import DiffusionPipeline
6
  import os
7
  import torch
8
  from transformers import pipeline
 
9
 
10
  token = os.getenv("HUGGINGFACE_API_TOKEN")
11
  pipe = pipeline("text-generation", "meta-llama/Meta-Llama-3-8B-Instruct", torch_dtype=torch.bfloat16, device_map="auto", token=token)
 
6
  import os
7
  import torch
8
  from transformers import pipeline
9
+ import gradio as gr
10
 
11
  token = os.getenv("HUGGINGFACE_API_TOKEN")
12
  pipe = pipeline("text-generation", "meta-llama/Meta-Llama-3-8B-Instruct", torch_dtype=torch.bfloat16, device_map="auto", token=token)