Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,5 @@
|
|
1 |
-
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
pipe_home = pipeline("text2text-generation", model="yeye776/t5-OndeviceAI-HomeIoT")
|
7 |
-
iface = gradio.Interface(fn=pipe_home, inputs="text", outputs="text")
|
8 |
-
iface.launch()
|
|
|
1 |
+
import gradio as gr
|
2 |
|
3 |
+
gr.load("models/yeye776/t5-OndeviceAI-HomeIoT").launch()
|
4 |
+
# iface = gradio.Interface(fn=pipe_home, inputs="text", outputs="text")
|
5 |
+
# iface.launch()
|
|
|
|
|
|