Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,3 @@
|
|
1 |
-
|
2 |
-
|
3 |
import spaces
|
4 |
import os
|
5 |
import torch
|
@@ -92,7 +90,7 @@ def call_generate_text(message, history):
|
|
92 |
return ""
|
93 |
|
94 |
demo = gr.ChatInterface(call_generate_text,type="messages")
|
95 |
-
|
96 |
if __name__ == "__main__":
|
97 |
-
|
98 |
demo.launch(share=True)
|
|
|
|
|
|
|
1 |
import spaces
|
2 |
import os
|
3 |
import torch
|
|
|
90 |
return ""
|
91 |
|
92 |
demo = gr.ChatInterface(call_generate_text,type="messages")
|
93 |
+
init()
|
94 |
if __name__ == "__main__":
|
95 |
+
|
96 |
demo.launch(share=True)
|