Spaces:
Runtime error
Runtime error
lucadillenburg
commited on
Commit
·
2c27a03
1
Parent(s):
27c8de3
Add application file
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
Chat Interface App
|
3 |
+
"""
|
4 |
+
|
5 |
+
import gradio as gr
|
6 |
+
# from axolotl.cli import print_axolotl_text_art
|
7 |
+
# print_axolotl_text_art()
|
8 |
+
|
9 |
+
def generate(instruction):
|
10 |
+
return "Hello " + instruction + "!"
|
11 |
+
|
12 |
+
iface = gr.Interface(fn=generate, inputs="text", outputs="text")
|
13 |
+
iface.launch()
|