Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
model_id = "
|
5 |
generator = pipeline("text-generation", model=model_id)
|
6 |
|
7 |
# Define the function to process the input and generate text
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
model_id = "meta-llama/Meta-Llama-3-8B" # You can replace this with any model of your choice
|
5 |
generator = pipeline("text-generation", model=model_id)
|
6 |
|
7 |
# Define the function to process the input and generate text
|