Spaces:
Build error
Build error
thanhanantony
commited on
Commit
·
95cc9bd
1
Parent(s):
b19c48c
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def load_interface():
|
4 |
+
iface = gr.Interface.load("models/NousResearch/Nous-Capybara-7B")
|
5 |
+
return iface
|
6 |
+
|
7 |
+
if __name__ == "__main__":
|
8 |
+
interface = load_interface()
|
9 |
+
interface.launch()
|