Spaces:
Build error
Build error
Update app.py
#4
by not-lain - opened
app.py
CHANGED
|
@@ -10,7 +10,7 @@ enable_space_ci()
|
|
| 10 |
# a function that uses the pipeline
|
| 11 |
# takes text as input and passes it to the pipeline
|
| 12 |
def chat(text):
|
| 13 |
-
return text
|
| 14 |
# fucntion , input of type text , output of type text
|
| 15 |
demo = gr.Interface(chat , "text" , "text" )
|
| 16 |
demo.launch()
|
|
|
|
| 10 |
# a function that uses the pipeline
|
| 11 |
# takes text as input and passes it to the pipeline
|
| 12 |
def chat(text):
|
| 13 |
+
return "hi "+text
|
| 14 |
# fucntion , input of type text , output of type text
|
| 15 |
demo = gr.Interface(chat , "text" , "text" )
|
| 16 |
demo.launch()
|