Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
pipeline = pipeline(task="text-generation", model="Preetham04/text-
|
5 |
|
6 |
def predict(input_img):
|
7 |
predictions = pipeline(input_img)
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
pipeline = pipeline(task="text-generation", model="Preetham04/text-generation")
|
5 |
|
6 |
def predict(input_img):
|
7 |
predictions = pipeline(input_img)
|