Spaces:
Sleeping
Sleeping
Dinethnethsara2010
commited on
Commit
•
3286a2f
1
Parent(s):
5bc2c27
Update app.py
Browse files
app.py
CHANGED
@@ -116,19 +116,14 @@ def custom_interface():
|
|
116 |
"""
|
117 |
|
118 |
gr.Interface(
|
119 |
-
|
120 |
inputs=["text", "text", "text", "text", "text"],
|
121 |
outputs="text",
|
122 |
-
layout="vertical",
|
123 |
title="Nova V2",
|
124 |
-
theme="huggingface",
|
125 |
-
allow_screenshot=False,
|
126 |
examples=[
|
127 |
["Hello!", "Hi there!", "What are you doing?", "Nothing much, just chatting with you.", "How are you today?"],
|
128 |
],
|
129 |
css=style(),
|
130 |
-
|
131 |
-
server_name="localhost",
|
132 |
-
server_port=5000,
|
133 |
capture_session=True
|
134 |
).launch(share=True, debug=True)
|
|
|
116 |
"""
|
117 |
|
118 |
gr.Interface(
|
119 |
+
generate,
|
120 |
inputs=["text", "text", "text", "text", "text"],
|
121 |
outputs="text",
|
|
|
122 |
title="Nova V2",
|
|
|
|
|
123 |
examples=[
|
124 |
["Hello!", "Hi there!", "What are you doing?", "Nothing much, just chatting with you.", "How are you today?"],
|
125 |
],
|
126 |
css=style(),
|
127 |
+
allow_screenshot=False,
|
|
|
|
|
128 |
capture_session=True
|
129 |
).launch(share=True, debug=True)
|