Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,11 @@ import gradio as gr
|
|
2 |
import random
|
3 |
import time
|
4 |
|
|
|
5 |
# Use a pipeline as a high-level helper
|
6 |
from transformers import pipeline
|
7 |
|
|
|
8 |
pipe = pipeline("conversational", model="llSourcell/medllama2_7b")
|
9 |
|
10 |
with gr.Blocks() as demo:
|
|
|
2 |
import random
|
3 |
import time
|
4 |
|
5 |
+
# Use a pipeline as a high-level helper
|
6 |
# Use a pipeline as a high-level helper
|
7 |
from transformers import pipeline
|
8 |
|
9 |
+
|
10 |
pipe = pipeline("conversational", model="llSourcell/medllama2_7b")
|
11 |
|
12 |
with gr.Blocks() as demo:
|