Spaces:
Runtime error
Runtime error
Deploy simplified investor demo - Gradio 4.0.0 compatible
Browse files- app.py +5 -18
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -1,18 +1,5 @@
|
|
| 1 |
-
"""
|
| 2 |
-
|
| 3 |
-
"""
|
| 4 |
-
import
|
| 5 |
-
|
| 6 |
-
def greet(name):
|
| 7 |
-
return f"Hello {name}! LaunchLLM is working!"
|
| 8 |
-
|
| 9 |
-
demo = gr.Interface(
|
| 10 |
-
fn=greet,
|
| 11 |
-
inputs="text",
|
| 12 |
-
outputs="text",
|
| 13 |
-
title="LaunchLLM Test",
|
| 14 |
-
description="If you see this, the Space is working!"
|
| 15 |
-
)
|
| 16 |
-
|
| 17 |
-
if __name__ == "__main__":
|
| 18 |
-
demo.launch()
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
HuggingFace Spaces entry point
|
| 3 |
+
"""
|
| 4 |
+
import demo_app
|
| 5 |
+
demo = demo_app.demo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
gradio==
|
|
|
|
| 1 |
+
gradio==5.49.1
|