wmaousley commited on
Commit
c4e3c5c
·
verified ·
1 Parent(s): 98a181d

Create appy.py

Browse files
Files changed (1) hide show
  1. appy.py +15 -0
appy.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def critique(text):
4
+ return "MiniCrit demo is running.\n\nYou entered:\n" + (text or "")
5
+
6
+ demo = gr.Interface(
7
+ fn=critique,
8
+ inputs=gr.Textbox(lines=4, label="Input"),
9
+ outputs=gr.Textbox(lines=8, label="Output"),
10
+ title="MiniCrit Demo",
11
+ description="Minimal working demo. Full model loads after GPU grant."
12
+ )
13
+
14
+ if __name__ == "__main__":
15
+ demo.launch()