Spaces:
Sleeping
Sleeping
check
Browse files
main.py
CHANGED
@@ -5,9 +5,9 @@ import gradio as gr
|
|
5 |
# pipe_flan = pipeline("text2text-generation", model="google/flan-t5-small")
|
6 |
|
7 |
|
8 |
-
def pred(input):
|
9 |
-
|
10 |
-
|
11 |
|
12 |
def test_fun(input):
|
13 |
return input
|
|
|
5 |
# pipe_flan = pipeline("text2text-generation", model="google/flan-t5-small")
|
6 |
|
7 |
|
8 |
+
# def pred(input):
|
9 |
+
# output = pipe_flan(input)
|
10 |
+
# return output[0]["generated_text"]
|
11 |
|
12 |
def test_fun(input):
|
13 |
return input
|