Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,6 @@
|
|
| 1 |
import os
|
| 2 |
import gradio as gr
|
| 3 |
from transformers import pipeline
|
| 4 |
-
import gradio as gr
|
| 5 |
-
from transformers import pipeline
|
| 6 |
|
| 7 |
def generate_text(prompt):
|
| 8 |
generator = pipeline('text-generation', model='tiiuae/falcon-40b-instruct', trust_remote_code=True)
|
|
|
|
| 1 |
import os
|
| 2 |
import gradio as gr
|
| 3 |
from transformers import pipeline
|
|
|
|
|
|
|
| 4 |
|
| 5 |
def generate_text(prompt):
|
| 6 |
generator = pipeline('text-generation', model='tiiuae/falcon-40b-instruct', trust_remote_code=True)
|