Spaces:
Runtime error
Runtime error
kevinbednarek
commited on
Commit
Β·
a013302
1
Parent(s):
e563807
Update app.py
Browse files
app.py
CHANGED
@@ -5,4 +5,4 @@ from transformers import pipeline
|
|
5 |
generate_text = pipeline(model="databricks/dolly-v2-3b", torch_dtype=torch.bfloat16, trust_remote_code=True, device_map="auto")
|
6 |
|
7 |
interface = gr.Interface(fn=generate_text, inputs='text', outputs='text')
|
8 |
-
interface.launch(
|
|
|
5 |
generate_text = pipeline(model="databricks/dolly-v2-3b", torch_dtype=torch.bfloat16, trust_remote_code=True, device_map="auto")
|
6 |
|
7 |
interface = gr.Interface(fn=generate_text, inputs='text', outputs='text')
|
8 |
+
interface.launch()
|