Spaces:
Sleeping
Sleeping
Commit
·
88675d7
1
Parent(s):
b46f96d
explicit launch of gradio interface
Browse files
app.py
CHANGED
@@ -93,4 +93,8 @@ demo = gr.Interface(
|
|
93 |
examples=EXAMPLE_PROMPTS,
|
94 |
title="Phi-2 Assistant",
|
95 |
description="This is a fine-tuned version of Phi-2 on the OpenAssistant dataset. Enter your prompt and adjust generation parameters as needed.",
|
96 |
-
)
|
|
|
|
|
|
|
|
|
|
93 |
examples=EXAMPLE_PROMPTS,
|
94 |
title="Phi-2 Assistant",
|
95 |
description="This is a fine-tuned version of Phi-2 on the OpenAssistant dataset. Enter your prompt and adjust generation parameters as needed.",
|
96 |
+
)
|
97 |
+
|
98 |
+
# Add this line at the end of the file
|
99 |
+
if __name__ == "__main__":
|
100 |
+
demo.launch(share=True)
|