Spaces:
Runtime error
Runtime error
fschwartzer
commited on
Commit
•
1c68d40
1
Parent(s):
ed9120b
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,7 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
+
from transformers import pipeline
|
3 |
|
4 |
+
pipe = pipeline(model="meta-llama/Llama-2-13b-chat-hf")
|
5 |
+
|
6 |
+
demo = gr.Interface.from_pipeline(pipe)
|
7 |
+
demo.launch()
|